TriLib Exporter
Search Results for

    Show / Hide Table of Contents

    Class AssetWriterOptions

    Represents the options for writing assets during the export process.

    Inheritance
    object
    Object
    ScriptableObject
    AssetWriterOptions
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: TriLibExporter
    Assembly: Assembly-CSharp.dll
    Syntax
    public class AssetWriterOptions : ScriptableObject

    Fields

    BakeEntireSceneAnimation

    Determines whether to bake the entire scene's animation into the exported file. Default value is false.

    Declaration
    public bool BakeEntireSceneAnimation
    Field Value
    Type Description
    bool

    CloseStream

    Determine whether the file stream should be closed automatically. Default value is true.

    Declaration
    public bool CloseStream
    Field Value
    Type Description
    bool

    EmbedTextures

    Indicates whether to embed textures within the exported asset file. Default value is false.

    Declaration
    public bool EmbedTextures
    Field Value
    Type Description
    bool

    ExportAnimations

    Determines whether animations should be exported along with the scene. Default value is true.

    Declaration
    public bool ExportAnimations
    Field Value
    Type Description
    bool

    ExportAsASCII

    Should the model be exported as ASCII. Valid for FBX format only.

    Declaration
    public bool ExportAsASCII
    Field Value
    Type Description
    bool

    ExportCameras

    Determines whether cameras should be exported along with the scene. Default value is true.

    Declaration
    public bool ExportCameras
    Field Value
    Type Description
    bool

    ExportInactiveGameObjects

    Determine whether inactive Game Objects should be exported. Default value is true.

    Declaration
    public bool ExportInactiveGameObjects
    Field Value
    Type Description
    bool

    ExportLights

    Determines whether lights should be exported along with the scene. Default value is true.

    Declaration
    public bool ExportLights
    Field Value
    Type Description
    bool

    ExportMaterials

    Determines whether materials should be exported along with the scene. Default value is true.

    Declaration
    public bool ExportMaterials
    Field Value
    Type Description
    bool

    ExportSkinning

    Determines whether skinning should be exported along with the scene. Default value is true.

    Declaration
    public bool ExportSkinning
    Field Value
    Type Description
    bool

    ExportTextures

    Determines whether textures should be exported along with the scene. Default value is true.

    Declaration
    public bool ExportTextures
    Field Value
    Type Description
    bool

    ExportVisibility

    Indicates whether to export object visibility settings. Default value is false.

    Declaration
    public bool ExportVisibility
    Field Value
    Type Description
    bool

    ExternalDataMapper

    The external data mapper can map model resources to custom streams.

    Declaration
    public ExternalDataMapper ExternalDataMapper
    Field Value
    Type Description
    ExternalDataMapper

    MaterialMappers

    The material mappers to use during the export process. Allows customization of how materials are exported.

    Declaration
    public ExporterMaterialMapper[] MaterialMappers
    Field Value
    Type Description
    ExporterMaterialMapper[]

    MergeVertices

    Indicates whether to merge identical vertices during the export process. Default value is true.

    Declaration
    public bool MergeVertices
    Field Value
    Type Description
    bool

    PreserveInstances

    Indicates whether to preserve object instances during the export. Default value is true.

    Declaration
    public bool PreserveInstances
    Field Value
    Type Description
    bool

    SceneAnimationLength

    The length of the scene animation in seconds. This is used when baking animations. Default value is 60 seconds. Only used when BakeEntireSceneAnimation is set to true.

    Declaration
    public float SceneAnimationLength
    Field Value
    Type Description
    float

    SceneFramerate

    The framerate for the scene animation in frames per second. This is used when baking animations. Default value is 60 frames per second.

    Declaration
    public float SceneFramerate
    Field Value
    Type Description
    float

    StartThreadsImmediately

    Determines whether threads should start immediately during the asset writing process. Default value is true.

    Declaration
    public bool StartThreadsImmediately
    Field Value
    Type Description
    bool

    Timeout

    The timeout duration in milliseconds for the asset writing process. Default value is 200 milliseconds.

    Declaration
    public int Timeout
    Field Value
    Type Description
    int
    In this article
    Back to top Generated by DocFX