The XMeshModel type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XMeshModel |
Creates new XMeshModel class instance.
|
Methods
| Name | Description | |
|---|---|---|
| CreateConfigs | Overloaded. | |
| CreateModelConfigs |
Creates new XModelConfigs model configuration.
(Overrides XModel..::.CreateModelConfigs()()().) | |
| CreateSprite | Overloaded. | |
| CreateSpriteCore |
Creates the XSprite sprite alone from the model name.
(Overrides XModel..::.CreateSpriteCore(String).) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetModelFileLocation |
Returns the model file location.
(Inherited from XModel.) | |
| GetType | Gets the Type of the current instance. | |
| Invalidate |
Invokes the configuration file and model preview reloads.
(Inherited from XModel.) | |
| InvalidateMesh |
Invokes the mesh reload at next usage.
| |
| InvalidatePreviewImage |
Invokes the model preview reload.
(Inherited from XModel.) | |
| IsKindOf |
Tests whether the model matches the given XModelFilter filter.
(Overrides XModel..::.IsKindOf(XModelFilter).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| FileNameExtension |
Default file type for SGP models.
| |
| FileNameExtension2 |
Default file type for DirectX X models.
|
Properties
| Name | Description | |
|---|---|---|
| Configs |
Returns the XModelConfigs model configuration.
(Inherited from XModel.) | |
| HasAnimation |
Denotes whether the mesh model has animations.
| |
| HasFrames |
Denotes whether the mesh has frames.
| |
| IsAnimationMesh |
Denotes whether the mesh model is animated.
| |
| IsPreviewImageLoaded |
Returns trueTruetruetrue (True in Visual Basic) if the model preview image has been loaded.
(Inherited from XModel.) | |
| IsReadOnly |
Returns trueTruetruetrue (True in Visual Basic) if the model source is read only.
(Inherited from XModel.) | |
| Mesh |
Returns the mesh object. If the mesh is animated, it returns the XAnimationMesh type value, otherwise the XMaterialMesh type value.
| |
| ModelFactory |
Returns the default XModel..::.IXModelFactory interface implementation that allows to create the mesh models.
| |
| Name |
Returns the model name.
(Inherited from XModel.) | |
| PreviewImage |
Returns the Image image of the model preview.
(Inherited from XModel.) | |
| Resource |
Returns the IXResourceLocation model source instance.
(Inherited from XModel.) | |
| SyncRoot | (Inherited from XModel.) |
Events
| Name | Description | |
|---|---|---|
| PreviewImageChanged |
Event for tracking the change of the model preview.
(Inherited from XModel.) |