Struct AiMaterialProperty
Represents an aiMaterialProperty struct.
Inherited Members
Namespace: SharpAssimp.Unmanaged
Assembly: SharpAssimp.dll
Syntax
public struct AiMaterialProperty
Fields
| Edit this page View SourceData
char*, byte buffer to hold the property's value.
Declaration
public nint Data
Field Value
Type | Description |
---|---|
nint |
DataLength
Size of the buffer data in bytes. This value may not be zero.
Declaration
public uint DataLength
Field Value
Type | Description |
---|---|
uint |
Index
Textures: Specifies the index of the texture. For non-texture properties this is always zero.
Declaration
public uint Index
Field Value
Type | Description |
---|---|
uint |
Key
Name of the property (key).
Declaration
public AiString Key
Field Value
Type | Description |
---|---|
AiString |
Semantic
Textures: Specifies texture usage. None texture properties have this zero (or None).
Declaration
public TextureType Semantic
Field Value
Type | Description |
---|---|
TextureType |
Type
Type of value contained in the buffer.
Declaration
public PropertyType Type
Field Value
Type | Description |
---|---|
PropertyType |