Class Material
Class representing a texture or shader
Inherited Members
Namespace: Slipe.Client.Dx
Assembly: SlipeClient.dll
Syntax
public abstract class Material
Fields
| Improve this Doc View SourcematerialElement
Declaration
protected MtaElement materialElement
Field Value
Type | Description |
---|---|
Slipe.MtaDefinitions.MtaElement |
Properties
| Improve this Doc View SourceMaterialElement
Get the material element associated
Declaration
public MtaElement MaterialElement { get; }
Property Value
Type | Description |
---|---|
Slipe.MtaDefinitions.MtaElement |
MaterialSize
This gets the dimensions of this material element.
Declaration
public Vector2 MaterialSize { get; }
Property Value
Type | Description |
---|---|
Vector2 |
VolumeSize
This gets the dimensions of this material if it is a volume
Declaration
public Vector3 VolumeSize { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
| Improve this Doc View SourceDestroy()
Destroys the material element
Declaration
public void Destroy()