Creates the XAnimationMesh animated mesh from the resource resource.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static XAnimationMesh CreateAnimationMesh( IXResourceLocation resource, XMaterialCullMode cull ) |
Parameters
- resource
- Type: SGP.XUtility..::.IXResourceLocation
The IXResourceLocation source defining the mesh location.
- cull
- Type: SGP.XSpace..::.XMaterialCullMode
The Cull mode of filling the 3D faces.
Return Value
Returns the created XAnimationMesh animated mesh.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | resource is nullNothingnullptra null reference (Nothing in Visual Basic). |