Click or drag to resize
ModelEntityGetMaterial Method
Get material for a given mesh id.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public MaterialAPI GetMaterial(
	string meshId,
	int meshPartIndex = 0
)

Parameters

meshId
Type: SystemString
Mesh id to get material for.
meshPartIndex (Optional)
Type: SystemInt32
MeshPart index to get material for.

Return Value

Type: MaterialAPI

[Missing <returns> documentation for "M:GeonBit.Core.Graphics.ModelEntity.GetMaterial(System.String,System.Int32)"]

See Also