RSX Code Reference
    Preparing search index...
    • rsx
    • FBXMeshImportOptions

    Class FBXMeshImportOptions

    Contains additional import options that a FBX mesh.

    Hierarchy (View Summary)

    Index
    • get combineMaterials(): boolean

      Determines whether mesh sections with identical material names should be combined.

      Returns boolean

    • set combineMaterials(value: boolean): 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: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get importScale(): number

      Uniformly scales the imported mesh by the specified value.

      Returns number

    • set importScale(value: number): 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: boolean): 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: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isImportingAnimations(): boolean

      Determines whether animation clips should be imported if available.

      Returns boolean

    • set isImportingAnimations(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isImportingBlendShapes(): boolean

      Determines whether mesh blend shapes should be imported if available.

      Returns boolean

    • set isImportingBlendShapes(value: boolean): 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: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isImportingMaterials(): boolean

      Determines whether materials and textures should be imported if available.

      Returns boolean

    • set isImportingMaterials(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isImportingNormals(): boolean

      Determines whether mesh normals should be imported if available.

      Returns boolean

    • set isImportingNormals(value: boolean): 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: boolean): 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: boolean): 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: boolean): 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: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isSkeletonOptimizationEnabled(): boolean

      Determines whether the generated skeleton will have a post processing step to remove extra bone nodes that can be collapsed without affecting the resulting animations.

      Returns boolean

    • set isSkeletonOptimizationEnabled(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get normalMapType(): EnumValue<NormalMapType>

      Determines the format of the Normal or Vector Map.

      Returns EnumValue<NormalMapType>

      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: EnumValue<NormalMapType>): void

      Parameters

      Returns void