10-05-2025, 09:26 AM
Please use English in this forum. If you cannot write in English, then use a translation tool to do that.
I used Google Translate to translate your text.
Each ModelNode object (also BoxModelNode) has Material and BackMaterial properties. You can set different materials to those properties, and the object will have different front and back materials. For example:
I used Google Translate to translate your text.
Each ModelNode object (also BoxModelNode) has Material and BackMaterial properties. You can set different materials to those properties, and the object will have different front and back materials. For example:
Code:
var planeModelNode = new PlaneModelNode(centerPosition: new Vector3(0, 0, 0),
size: new Vector2(200, 100),
normal: new Vector3(0, 1, 0),
heightDirection: new Vector3(0, 0, 1))
{
Material = StandardMaterials.Blue,
BackMaterial = StandardMaterials.Red,
};
Andrej Benedik

