FileGltfWriteOptions Class |
Namespace: Rhino.FileIO
The FileGltfWriteOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | FileGltfWriteOptions | Initializes a new instance of the FileGltfWriteOptions class |
Name | Description | |
---|---|---|
![]() | CullBackfaces |
Setting that determines whether or not the meshes in the glTF will be rendered with
or without backface culling.
Known as DoubleSided in the glTF specification.
|
![]() | DracoCompressionLevel |
The level of compression used by draco in the range of 1 to 10 inclusive.
|
![]() | DracoQuantizationBitsNormal |
The number of bits used when quantizing mesh normals in the range of 8 to 32 inclusive
|
![]() | DracoQuantizationBitsPosition |
The number of bits used when quantizing mesh vertex positions in the range of 8 to 32 inclusive
|
![]() | DracoQuantizationBitsTextureCoordinate |
The number of bits used when quantizing mesh texture coordinates in the range of 8 to 32 inclusive
|
![]() | ExportLayers |
glTF uses a scene hierarchy structure where nodes are organized in a parent-child relationship.
This setting enables/disables the writing of empty nodes with the same names as layers and places exported objects
a children of the corresponding layer node.
|
![]() | ExportMaterials |
Setting to determine whether or not materials are written to the glTF file
|
![]() | ExportOpenMeshes |
Enable/disable the exporting of open meshes
|
![]() | ExportTextureCoordinates |
Enable/disable the exporting of texture coordinates
|
![]() | ExportVertexColors |
Enable/disable the export of vertex colors
|
![]() | ExportVertexNormals |
Enable/disable the exporting of vertex normals
|
![]() | MapZToY |
Setting to transform Rhino's Z axis to glTF's Y axis
|
![]() | SubDMeshType |
The mesh type for exported SubDs
|
![]() | SubDSurfaceMeshingDensity |
Determines how coarse the mesh output
will be when surface meshing subd objects
See comments for ON_SubDDisplayParameters in opennurbs_mesh.h
for details regarding numbers used.
|
![]() | UseDisplayColorForUnsetMaterials |
Setting to display color as material when material index for object is -1.
|
![]() | UseDracoCompression |
Enable/disable the use of Draco mesh compression in the glTF file
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToDictionary |
Create a dictionary of these options. This dictionary can be passed to the
RhinoDoc.Export function
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |