Click or drag to resize
Ab4d.SharpEngine logo

StlImporter Properties

The StlImporter type exposes the following members.

Properties
 NameDescription
Public propertyConvertToYUp When true (false by default), then the model is converted from Z-up coordinate system to Y-up coordinate system. This is done by setting Y to Z and Z to -Y.
Public propertyDefaultMaterialColor Gets or sets the Color3 that is used for the default material color when no material is defined in the stl file. Default value is Colors.Silver.
Public propertyGenerateTriangleIndices Stl file does not define the triangle indices. When this property is true (by default), then the triangle indices are generated by this importer.
Public propertyLastBinaryHeaderText Gets the header text that is read from the binary stl file (first 80 bytes in the file). If there is no header text or if text stl file was read, then this property is null.
Public propertyLastReadModelColor Gets the Color4 that was read from last binary stl file (from the header after the "COLOR=" text). If color was not specified or if text stl file was read, then this property is null.
Public propertyUseTwoSidedMaterials When true (by default), then BackMaterials is set to the same material as Material.
Top
See Also