Mesh.ApplyMaterial (String, textureMappingType, Double, Double, Point3D, Point3D) Method
Parameters
- matName
- string
Material name
- mappingMode
- textureMappingType
Indicates the way Material texture is wrapped on the object
- scaleX
- double
Material texture scale along the X axis
- scaleY
- double
Material texture scale along the Y axis
- boxMin
- Point3D
Bounding box min point
- boxMax
- Point3D
Bounding box max point
The mesh nature is set to RichPlain or RichSmooth from this command.
You may need to call viewport.Entities.Regen() to see the effect of this command.