Class FBXMeshImportOptions

Contains additional import options that a FBX mesh.

Hierarchy (view full)

Constructors

Accessors

  • get animationSplits(): Iterable<AnimationSplitInfo>
  • 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.

    Returns Iterable<AnimationSplitInfo>

  • set animationSplits(value): void
  • Parameters

    Returns void

  • get collisionMeshType(): EnumValue<CollisionMeshType, number>
  • 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).

    Returns EnumValue<CollisionMeshType, number>

  • set collisionMeshType(value): void
  • Parameters

    Returns void

  • get combineMaterials(): boolean
  • Determines whether mesh sections with identical material names should be combined.

    Returns boolean

  • set combineMaterials(value): void
  • Parameters

    • value: boolean

    Returns void

  • get createTemplate(): boolean
  • Determines whether a mesh or scene template is created. The scene template will contains all imported data such as texture and lights and makes it easy to immediately use the asset. When MeshImportType is set to StaticMesh a StaticMeshTemplate will be created. When MeshImportType is set to SketalMesh a SkeletalMeshTemplate will be created. When MeshImportType is set to Scene a Template will be created.

    Returns boolean

  • set createTemplate(value): void
  • Parameters

    • value: boolean

    Returns void

  • get importScale(): number
  • Uniformly scales the imported mesh by the specified value.

    Returns number

  • set importScale(value): void
  • Parameters

    • value: number

    Returns void

  • get isAutomaticTextureCompressionEnabled(): boolean
  • Enables automatic texture compression based on the native format of imported material textures. This is highly recommended to lower the VRAM requirements, streaming performance and on-disk usage.

    Returns boolean

  • set isAutomaticTextureCompressionEnabled(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isCPUCached(): boolean
  • Determines whether the mesh and texture data is also stored in CPU memory.

    Returns boolean

  • set isCPUCached(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingAnimations(): boolean
  • Determines whether animation clips should be imported if available.

    Returns boolean

  • set isImportingAnimations(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingBlendShapes(): boolean
  • Determines whether mesh blend shapes should be imported if available.

    Returns boolean

  • set isImportingBlendShapes(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingLights(): boolean
  • Determines whether lights should be imported if available and a template is being created.

    Returns boolean

  • set isImportingLights(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingMaterials(): boolean
  • Determines whether materials and textures should be imported if available.

    Returns boolean

  • set isImportingMaterials(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingNormals(): boolean
  • Determines whether mesh normals should be imported if available.

    Returns boolean

  • set isImportingNormals(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingRootMotion(): boolean
  • Enables or disables import of root motion curves. When enabled, any animation curves in imported animations affecting the root bone will be available extracted and available through the RootMotion field on the imported AnimationClip. The RootMotion can be automatically applied to the SceneObject playing the animation or a CharacterController associated with the SceneObject. This allows the SceneObject to actually move in the scene based on the RootAnimation that was generated during the import.

    Returns boolean

  • set isImportingRootMotion(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingSkin(): boolean
  • Determines whether mesh skin data like bone weights, indices and bind poses should be imported if available.

    Returns boolean

  • set isImportingSkin(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isImportingTangents(): boolean
  • Determines whether mesh tangents and bitangents should be imported if available.

    Returns boolean

  • set isImportingTangents(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isReducingKeyFrames(): boolean
  • 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.

    Returns boolean

  • set isReducingKeyFrames(value): void
  • Parameters

    • value: boolean

    Returns void

  • get meshImportType(): EnumValue<MeshImportType, number>
  • Controls the asset type that will be created from the imported file.

    Returns EnumValue<MeshImportType, number>

  • set meshImportType(value): void
  • Parameters

    Returns void

  • get normalMapType(): EnumValue<NormalMapType, number>
  • Determines the format of the Normal or Vector Map.

    Returns EnumValue<NormalMapType, number>

    Only used if ContentType is a type that contains normal or vector information such as NormalMapTangent. The default normal map type is DirectX using OpenGL incurs a performs hit during import.

  • set normalMapType(value): void
  • Parameters

    Returns void

  • get rootMotionAxes(): EnumValue<AxisFlag, number>
  • Determines on which axes a SceneObject can be moved by the RootMotion.

    Returns EnumValue<AxisFlag, number>

  • set rootMotionAxes(value): void
  • Parameters

    Returns void

Methods