class
MeshImportOptions
Contains import options you may use to control how is a mesh imported from some external format into engine format.
Public
Constructors
MeshImportOptions
Methods
staticCreate
Creates a new import options object that allows you to customize how are meshes imported.
staticGetRttiStatic
Fields
CpuCached
Determines whether the texture data is also stored in CPU memory.
ImportNormals
Determines should mesh normals be imported if available.
ImportTangents
Determines should mesh tangents and bitangents be imported if available.
ImportBlendShapes
Determines should mesh blend shapes be imported if available.
ImportSkin
Determines should mesh skin data like bone weights, indices and bind poses be imported if available.
ImportAnimation
Determines should animation clips be imported if available.
ReduceKeyFrames
Enables or disables keyframe reduction.
Keyframe reduction will reduce the number of key-frames in an animation clip by removing identical keyframes, and therefore reducing the size of the clip.
ImportRootMotion
Enables or disables import of root motion curves.
When enabled, any animation curves in imported animations affecting the root bone will be available through a set of separate curves in AnimationClip, and they won't be evaluated through normal animation process. Instead it is expected that the user evaluates the curves manually and applies them as required.
ImportScale
Uniformly scales the imported mesh by the specified value.
CollisionMeshType
Determines what type (if any) of collision mesh should be imported.
If enabled the collision mesh will be available as a sub-resource returned by the importer (along with the normal mesh).
AnimationSplits
Animation split infos that determine how will the source animation clip be split.
If no splits are present the data will be imported as one clip, but if splits are present the data will be split according to the split infos. Split infos only affect the primary animation clip, other clips will not be split.
AnimationEvents
Set of events that will be added to the animation clip, if animation import is enabled.