MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstDracoSaveOptions Class Reference
Inheritance diagram for mrmeshpy.ConstDracoSaveOptions:

Public Member Functions

 __init__ (self, *args, **kwargs)
int compressionLevel (self)
int positionQuantizationBits (self)
Public Member Functions inherited from mrmeshpy.ConstSaveSettings
 __init__ (self, *args, **kwargs)
VertColors colors (self)
Const_std_optional_LengthUnit lengthUnit (self)
str materialName (self)
bool onlyValidPoints (self)
bool packPrimitives (self)
FaceColors primitiveColors (self)
Const_func_bool_from_float progress (self)
bool saveTriCornerUVCoords (self)
Const_std_optional_Color solidColor (self)
bool telemetrySignal (self)
MeshTexture texture (self)
VertCoords2 uvMap (self)
AffineXf3d xf (self)

Static Protected Attributes

typing _offsetof_compressionLevel = 136
typing _offsetof_positionQuantizationBits = 140
Static Protected Attributes inherited from mrmeshpy.ConstSaveSettings
typing _offsetof_colors = 8
typing _offsetof_lengthUnit = 88
typing _offsetof_materialName = 48
typing _offsetof_onlyValidPoints = 0
typing _offsetof_packPrimitives = 1
typing _offsetof_primitiveColors = 16
typing _offsetof_progress = 104
typing _offsetof_saveTriCornerUVCoords = 32
typing _offsetof_solidColor = 96
typing _offsetof_telemetrySignal = 101
typing _offsetof_texture = 40
typing _offsetof_uvMap = 24
typing _offsetof_xf = 80

Detailed Description

Generated from:  MR::DracoSaveOptions

options for saving in Google Draco format

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstDracoSaveOptions.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstDracoSaveOptions) -> None

2. __init__(self: meshlib.mrmeshpy.ConstDracoSaveOptions, arg0: meshlib.mrmeshpy.ConstDracoSaveOptions) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstDracoSaveOptions, : meshlib.mrmeshpy.ConstDracoSaveOptions) -> None

Member Function Documentation

◆ compressionLevel()

int mrmeshpy.ConstDracoSaveOptions.compressionLevel ( self)
0 - fastest encoding and decoding but the worst compression, 10 - the best compression

Reimplemented in mrmeshpy.DracoSaveOptions, and mrmeshpy.DracoSaveOptions.

◆ positionQuantizationBits()

int mrmeshpy.ConstDracoSaveOptions.positionQuantizationBits ( self)
the number of bits to quantize vertex coordinates to (in the range [1, 30]);
0 - no quantization, the coordinates are saved losslessly

Reimplemented in mrmeshpy.DracoSaveOptions, and mrmeshpy.DracoSaveOptions.

Member Data Documentation

◆ _offsetof_compressionLevel

typing mrmeshpy.ConstDracoSaveOptions._offsetof_compressionLevel = 136
staticprotected

◆ _offsetof_positionQuantizationBits

typing mrmeshpy.ConstDracoSaveOptions._offsetof_positionQuantizationBits = 140
staticprotected

The documentation for this class was generated from the following file: