Enum EncodeOptions
Optional flags that alter how a mesh is encoded.
Namespace: Draco.Encode
Assembly: Draco.Encode.dll
Syntax
[Flags]
public enum EncodeOptions
Fields
| Name | Description |
|---|---|
| None | Default behavior. Vertex attributes are encoded with the dimension of the source mesh. |
| PadSkinAttributesToFour | Encodes bone weights (BlendWeight) and bone indices (BlendIndices) with four components, padding missing components with zeros. Required for glTF, where JOINTS_0 and WEIGHTS_0 must be VEC4. |