GeometricPrimitiveExtensions Class
Namespace: Stride.ExtensionsAssembly: Stride.Rendering.dll
An extension class for the GeometricPrimitive
System.Object →
GeometricPrimitiveExtensions
Derived from GeometricPrimitiveExtensions:
public static class GeometricPrimitiveExtensions
Name | Description | |
---|---|---|
Methods | ||
ToMeshDraw<T>(GeometricPrimitive<T>) |
Methods
ToMeshDraw<T>(GeometricPrimitive<T>)
public static MeshDraw ToMeshDraw<T>(this GeometricPrimitive<T> primitive)
where T : struct, IVertex
Parameters
Type | Name | Description |
---|---|---|
GeometricPrimitive<T> | primitive |
Returns
Type | Description |
---|---|
MeshDraw |
Type Parameters
Name | Description |
---|---|
T |