unreal.AbcGeometryCacheSettings

class unreal.AbcGeometryCacheSettings(flatten_tracks=True, apply_constant_topology_optimizations=False, motion_vectors=AbcGeometryCacheMotionVectorsImport.NO_MOTION_VECTORS, optimize_index_buffers=False, compressed_position_precision=0.01, compressed_texture_coordinates_number_of_bits=10)

Bases: unreal.StructBase

Abc Geometry Cache Settings

C++ Source:

  • Plugin: AlembicImporter

  • Module: AlembicLibrary

  • File: AbcImportSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • apply_constant_topology_optimizations (bool): [Read-Write] Force the preprocessor to only do optimization once instead of when the preprocessor decides. This may lead to some problems with certain meshes but makes sure motion

    blur always works if the topology is constant.

  • compressed_position_precision (float): [Read-Write] Precision used for compressing vertex positions (lower = better result but less compression, higher = more lossy compression but smaller size)

  • compressed_texture_coordinates_number_of_bits (int32): [Read-Write] Bit-precision used for compressing texture coordinates (hight = better result but less compression, lower = more lossy compression but smaller size)

  • flatten_tracks (bool): [Read-Write] Whether or not to merge all vertex animation into one track

  • motion_vectors (AbcGeometryCacheMotionVectorsImport): [Read-Write] Motion Vectors

  • optimize_index_buffers (bool): [Read-Write] Optimizes index buffers for each unique frame, to allow better cache coherency on the GPU. Very costly and time-consuming process, recommended to OFF.

property apply_constant_topology_optimizations

[Read-Write] Force the preprocessor to only do optimization once instead of when the preprocessor decides. This may lead to some problems with certain meshes but makes sure motion blur always works if the topology is constant.

Type

(bool)

property compressed_position_precision

[Read-Write] Precision used for compressing vertex positions (lower = better result but less compression, higher = more lossy compression but smaller size)

Type

(float)

property compressed_texture_coordinates_number_of_bits

[Read-Write] Bit-precision used for compressing texture coordinates (hight = better result but less compression, lower = more lossy compression but smaller size)

Type

(int32)

property flatten_tracks

[Read-Write] Whether or not to merge all vertex animation into one track

Type

(bool)

property motion_vectors

[Read-Write] Motion Vectors

Type

(AbcGeometryCacheMotionVectorsImport)

property optimize_index_buffers

[Read-Write] Optimizes index buffers for each unique frame, to allow better cache coherency on the GPU. Very costly and time-consuming process, recommended to OFF.

Type

(bool)