Search Results for

    Show / Hide Table of Contents

    Class Constants

    Defines a collection of constant values used internally by TriLib, primarily related to animation property paths and mesh processing.

    Inheritance
    object
    Constants
    Namespace: TriLibCore.General
    Assembly: TriLibCore.Source.dll
    Syntax
    public static class Constants

    Fields

    BlendShapePathFormat

    Blend shape animation path format.

    Declaration
    public const string BlendShapePathFormat = "blendShape.{0}"
    Field Value
    Type Description
    string
    Remarks

    Use Format(String, Object) to inject the blend shape name.

    CommonAnimationCurveCount

    Common number of animation curves generated per animated transform.

    Declaration
    public const int CommonAnimationCurveCount = 10
    Field Value
    Type Description
    int

    EnabledProperty

    Component enabled state property name used during animation processing.

    Declaration
    public const string EnabledProperty = "m_Enabled"
    Field Value
    Type Description
    string

    LocalEulerAnglesBakedXProperty

    Local baked Euler angles X property name used during animation processing.

    Declaration
    public const string LocalEulerAnglesBakedXProperty = "localEulerAnglesBaked.x"
    Field Value
    Type Description
    string

    LocalEulerAnglesBakedYProperty

    Local baked Euler angles Y property name used during animation processing.

    Declaration
    public const string LocalEulerAnglesBakedYProperty = "localEulerAnglesBaked.y"
    Field Value
    Type Description
    string

    LocalEulerAnglesBakedZProperty

    Local baked Euler angles Z property name used during animation processing.

    Declaration
    public const string LocalEulerAnglesBakedZProperty = "localEulerAnglesBaked.z"
    Field Value
    Type Description
    string

    LocalEulerAnglesXProperty

    Local Euler angles X property name used during animation processing.

    Declaration
    public const string LocalEulerAnglesXProperty = "localEulerAngles.x"
    Field Value
    Type Description
    string

    LocalEulerAnglesYProperty

    Local Euler angles Y property name used during animation processing.

    Declaration
    public const string LocalEulerAnglesYProperty = "localEulerAngles.y"
    Field Value
    Type Description
    string

    LocalEulerAnglesZProperty

    Local Euler angles Z property name used during animation processing.

    Declaration
    public const string LocalEulerAnglesZProperty = "localEulerAngles.z"
    Field Value
    Type Description
    string

    LocalPositionXProperty

    Local position X property name used during animation processing.

    Declaration
    public const string LocalPositionXProperty = "localPosition.x"
    Field Value
    Type Description
    string

    LocalPositionYProperty

    Local position Y property name used during animation processing.

    Declaration
    public const string LocalPositionYProperty = "localPosition.y"
    Field Value
    Type Description
    string

    LocalPositionZProperty

    Local position Z property name used during animation processing.

    Declaration
    public const string LocalPositionZProperty = "localPosition.z"
    Field Value
    Type Description
    string

    LocalRotationWProperty

    Local rotation W property name used during animation processing.

    Declaration
    public const string LocalRotationWProperty = "localRotation.w"
    Field Value
    Type Description
    string

    LocalRotationXProperty

    Local rotation X property name used during animation processing.

    Declaration
    public const string LocalRotationXProperty = "localRotation.x"
    Field Value
    Type Description
    string

    LocalRotationYProperty

    Local rotation Y property name used during animation processing.

    Declaration
    public const string LocalRotationYProperty = "localRotation.y"
    Field Value
    Type Description
    string

    LocalRotationZProperty

    Local rotation Z property name used during animation processing.

    Declaration
    public const string LocalRotationZProperty = "localRotation.z"
    Field Value
    Type Description
    string

    LocalScaleXProperty

    Local scale X property name used during animation processing.

    Declaration
    public const string LocalScaleXProperty = "localScale.x"
    Field Value
    Type Description
    string

    LocalScaleYProperty

    Local scale Y property name used during animation processing.

    Declaration
    public const string LocalScaleYProperty = "localScale.y"
    Field Value
    Type Description
    string

    LocalScaleZProperty

    Local scale Z property name used during animation processing.

    Declaration
    public const string LocalScaleZProperty = "localScale.z"
    Field Value
    Type Description
    string

    QuadGeometryIndicesBegin

    Starting index value used to separate quad geometries from triangle geometries when AssetLoaderOptions.UseQuads is enabled.

    Declaration
    public const int QuadGeometryIndicesBegin = 32767
    Field Value
    Type Description
    int
    Remarks

    Unity requires quad and triangle meshes to be handled as separate geometries.

    RootPositionXProperty

    Root position X property name used during Mecanim animation processing.

    Declaration
    public const string RootPositionXProperty = "RootT.x"
    Field Value
    Type Description
    string

    RootPositionYProperty

    Root position Y property name used during Mecanim animation processing.

    Declaration
    public const string RootPositionYProperty = "RootT.y"
    Field Value
    Type Description
    string

    RootPositionZProperty

    Root position Z property name used during Mecanim animation processing.

    Declaration
    public const string RootPositionZProperty = "RootT.z"
    Field Value
    Type Description
    string

    RootRotationWProperty

    Root rotation W property name used during Mecanim animation processing.

    Declaration
    public const string RootRotationWProperty = "RootQ.w"
    Field Value
    Type Description
    string

    RootRotationXProperty

    Root rotation X property name used during Mecanim animation processing.

    Declaration
    public const string RootRotationXProperty = "RootQ.x"
    Field Value
    Type Description
    string

    RootRotationYProperty

    Root rotation Y property name used during Mecanim animation processing.

    Declaration
    public const string RootRotationYProperty = "RootQ.y"
    Field Value
    Type Description
    string

    RootRotationZProperty

    Root rotation Z property name used during Mecanim animation processing.

    Declaration
    public const string RootRotationZProperty = "RootQ.z"
    Field Value
    Type Description
    string
    In this article
    Back to top TriLib documentation