TriLib
1.9.0
TriLib Unity Package
|
Base asset loader. More...
Public Member Functions | |
void | TriggerOnAvatarCreated (Avatar avatar, Animator animator) |
void | Dispose () |
Static Public Member Functions | |
static bool | IsExtensionSupported (string extension) |
Checks whether the given file extension is supported. More... | |
static string | GetSupportedFileExtensions () |
Returns a string of supported file extensions. More... | |
Public Attributes | |
NodeData | RootNodeData |
Main scene TriLib.NodeData. More... | |
MaterialData [] | MaterialData |
Processed TriLib.MaterialData list. More... | |
MeshData [] | MeshData |
Processed TriLib.MeshData list. More... | |
AnimationData [] | AnimationData |
Processed TriLib.AnimationData list. More... | |
CameraData [] | CameraData |
Processed TriLib.CameraData list. More... | |
AssimpMetadata [] | Metadata |
Processed TriLib.AssimpMetadata list. More... | |
Dictionary< string, string > | NodesPath |
Processed nodes path dictionary. More... | |
Dictionary< string, Material > | LoadedMaterials |
Loaded UnityEngine.Material for a given name dictionary. More... | |
Dictionary< string, Texture2D > | LoadedTextures |
Loaded UnityEngine.Texture2D for a given name dictionary. More... | |
Dictionary< SkinnedMeshRenderer, IList< string > > | LoadedBoneNames |
Loaded bone names for a given UnityEngine.SkinnedMeshRenderer dictionary. More... | |
Dictionary< string, MeshData > | MeshDataConnections |
UnityEngine.GameObject and MeshData relationship dictionary used to apply blend-shape animations. More... | |
Dictionary< string, EmbeddedTextureData > | EmbeddedTextures |
Loaded EmbeddedTextureData for a given name dictionary. More... | |
uint | NodeId |
Used to temporarily store nodes id. More... | |
bool | HasBoneInfo |
Used to temporarily indicate if there are any bones assigned to loaded meshes. More... | |
bool | HasBlendShapes |
Used to temporarily indicate if there are any blend shapes assigned to loaded meshes. More... | |
Static Public Attributes | |
static ConcurrentList< FileLoadData > | FilesLoadData = new ConcurrentList<FileLoadData>() |
Stores a FileLoadData reference list for callbacks. More... | |
static Material | StandardBaseMaterial |
Base Diffuse UnityEngine.Material used to load materials. More... | |
static Material | StandardSpecularMaterial |
Base Specular UnityEngine.Material used to load materials. More... | |
static Material | StandardBaseAlphaMaterial |
Base Diffuse Alpha UnityEngine.Material used to load materials. More... | |
static Material | StandardSpecularAlphaMaterial |
Base Specular Alpha UnityEngine.Material used to load materials. More... | |
static Material | StandardBaseCutoutMaterial |
Base Diffuse Cutout UnityEngine.Material used to load materials. More... | |
static Material | StandardBaseFadeMaterial |
Base Diffuse Fade UnityEngine.Material used to load materials. More... | |
static Material | StandardSpecularCutoutMaterial |
Base Specular Cutout UnityEngine.Material used to load materials. More... | |
static Material | StandardSpecularFadeMaterial |
Base Specular Fade UnityEngine.Material used to load materials. More... | |
static Material | StandardRoughnessMaterial |
Base Roughness UnityEngine.Material used to load materials. More... | |
static Material | StandardRoughnessCutoutMaterial |
Base Roughness Cutout UnityEngine.Material used to load materials. More... | |
static Material | StandardRoughnessFadeMaterial |
Base Roughness Fade UnityEngine.Material used to load materials. More... | |
static Material | StandardRoughnessAlphaMaterial |
Base Roughness Alpha UnityEngine.Material used to load materials. More... | |
static Texture2D | NotFoundTexture |
UnityEngine.Texture used to show when no texture is found. More... | |
Protected Member Functions | |
void | TriggerOnMeshCreated (uint meshIndex, Mesh mesh) |
Triggers the on mesh created event. More... | |
void | TriggerOnMaterialCreated (uint materialIndex, bool isOverriden, Material material) |
Triggers the on material created event. More... | |
void | TriggerOnTextureLoaded (string sourcePath, Material material, string propertyName, Texture2D texture) |
Triggers the on texture loaded event. More... | |
void | TriggerOnAnimationClipCreated (uint animationClipIndex, AnimationClip animationClip) |
Triggers the on animation clip created event. More... | |
void | TriggerOnObjectLoaded (GameObject loadedGameObject) |
Triggers the on object loaded event. More... | |
void | TriggerOnMetadataProcessed (AssimpMetadataType metadataType, uint metadataIndex, string metadataKey, object metadataValue) |
Triggers the on metadata processed event. More... | |
void | TriggerOnBlendShapeKeyCreated (Mesh mesh, string name, Vector3[] vertices, Vector3[] normals, Vector4[] tangents, Vector4[] biTangents) |
Triggers the on blend-shape key created event. More... | |
void | InternalLoadFromMemory (byte[] fileBytes, string filename, string basePath, AssetLoaderOptions options=null, bool usesWrapperGameObject=false, AssimpInterop.DataCallback dataCallback=null, AssimpInterop.ExistsCallback existsCallback=null, LoadTextureDataCallback loadTextureDataCallback=null, AssimpInterop.ProgressCallback progressCallback=null, FileLoadData customFileLoadData=null) |
Internally loads a file from memory into its data representation. More... | |
void | InternalLoadFromMemoryAndZip (byte[] data, string assetExtension, string basePath, AssetLoaderOptions options=null, bool usesWrapperGameObject=false, AssimpInterop.DataCallback dataCallback=null, AssimpInterop.ExistsCallback existsCallback=null, LoadTextureDataCallback loadTextureDataCallback=null, AssimpInterop.ProgressCallback progressCallback=null, string filename=null) |
Internally loads a model from memory with custom embedded texture loading for ZIP files. More... | |
void | InternalLoadFromFile (string filename, string basePath, AssetLoaderOptions options=null, bool usesWrapperGameObject=false, AssimpInterop.ProgressCallback progressCallback=null) |
Internally loads a file from file system into it's data representation. More... | |
GameObject | BuildGameObject (AssetLoaderOptions options, string basePath=null, GameObject wrapperGameObject=null) |
Builds the UnityEngine.GameObject from pre-loaded data. More... | |
virtual void | SetupSkinnedMeshRendererTransforms (GameObject gameObject) |
Setups the UnityEngine.SkinnedMeshRenderer bone transforms. More... | |
virtual void | ProcessMetadata (AssimpMetadata metadata) |
Processes the given metadata by triggering the OnMetadataProcessed event. More... | |
virtual void | SetupAnimations (GameObject gameObject, AssetLoaderOptions options) |
Setups animation components and UnityEngine.AnimationClip clips into the given UnityEngine.GameObject. More... | |
virtual GameObject | TransformNodeData (NodeData nodeData, AssetLoaderOptions options, GameObject existingGameObject=null) |
Transforms given TriLib.NodeData into a UnityEngine.GameObject. More... | |
virtual void | CreateMeshComponents (GameObject gameObject, AssetLoaderOptions options, Mesh mesh, bool hasBoneInfo, Material[] combinedMaterials, IList< string > boneNames=null, Material singleMaterial=null, MeshData meshData=null, string connectionKey=null) |
Creates mesh rendering components into given UnityEngine.GameObject. More... | |
virtual void | TransformCameraData (GameObject gameObject, CameraData cameraData, AssetLoaderOptions options) |
Transforms the given TriLib.CameraData into a UnityEngine.Camera. More... | |
virtual void | TransformAnimationData (AnimationData animationData, AssetLoaderOptions options, GameObject gameObject, bool useWrapperGameObject=false) |
Transforms the given TriLib.AnimationData into a UnityEngine.AnimationClip. More... | |
virtual void | TransformMeshData (MeshData meshData, AssetLoaderOptions options) |
Transforms the given TriLib.MeshData into a UnityEngine.Mesh. More... | |
virtual bool | IsUsingHDRP () |
Checks if project is using HDRP render pipeline. More... | |
virtual string | RemapMaterialProperty (string property) |
Override this method to rename Material Property names when using different Rendering Pipelines or working with custom Materials. More... | |
virtual void | TransformMaterialData (MaterialData materialData, AssetLoaderOptions options, string basePath=null) |
Transforms the given TriLib.MaterialData into a UnityEngine.Material. More... | |
virtual Material | LoadMaterial (string name, AssetLoaderOptions options, bool hasAlpha, bool hasSpecular) |
Creates a new UnityEngine.Material or loads an existing UnityEngine.Material with the given name. More... | |
virtual Texture2D | LoadTextureFromFile (string path, string name, AssetLoaderOptions options, EmbeddedTextureData embeddedTextureData, TextureWrapMode textureWrapMode, ref bool hasAlphaChannel, bool isNormalMap, bool checkAlphaChannel=false) |
Creates a new UnityEngine.Texture2D or loads an existing UnityEngine.Texture2D with the given path. More... | |
virtual void | BuildMaterials (string basePath, AssetLoaderOptions options, LoadTextureDataCallback loadTextureDataCallback=null) |
Builds the TriLib.MaterialData list for given scene. More... | |
EmbeddedTextureData | LoadTextureData (string path, string basePath) |
Tries to load texture data from the given path, searching from basePath. More... | |
EmbeddedTextureData | LoadEmbeddedTextureData (IntPtr texture, string textureName) |
Loads an embedded texture data. More... | |
virtual string | FixNodeName (string name, uint nodeId) |
Generates a unique node name, if the given name is empty. More... | |
virtual string | FixName (string name, uint id) |
Generates a unique name, if the given name is empty. More... | |
virtual string | FixName (string name) |
Generates a unique name using GUIDs, if the given name is empty. More... | |
void | ReleaseImport () |
Releases allocated resources. More... | |
Protected Attributes | |
const string | AssimpFilenameMagicString = "$$$___magic___$$$" |
Assimp uses this prefix when loading files from memory. More... | |
IntPtr | Scene |
Pointer to Assimp loaded scene. More... | |
Properties | |
bool | HasOnMeshCreated [get] |
Gets a value indicating whether this instance has on mesh created event. More... | |
bool | HasOnMaterialCreated [get] |
Gets a value indicating whether this instance has on material created event. More... | |
bool | HasOnTextureLoaded [get] |
Gets a value indicating whether this instance has on texture loaded event. More... | |
bool | HasOnAvatarCreated [get] |
bool | HasOnAnimationClipCreated [get] |
Gets a value indicating whether this instance has on animation clip created event. More... | |
bool | HasOnObjectLoaded [get] |
Gets a value indicating whether this instance has on object loaded event. More... | |
bool | HasOnMetadataProcessed [get] |
Gets a value indicating whether this instance has on metadata processed event. More... | |
bool | HasOnBlendShapeKeyCreated [get] |
Gets a value indicating whether this instance has on blend-shape key created event. More... | |
Events | |
EmbeddedTextureLoadCallback | EmbeddedTextureLoad |
Use this field to assign the callback that will be triggered when a texture looks up for embedded data. More... | |
MeshCreatedHandle | OnMeshCreated |
Use this field to assign the event that occurs when a mesh is loaded. More... | |
MaterialCreatedHandle | OnMaterialCreated |
Use this field to assign the event that occurs when a material is created. More... | |
TextureLoadHandle | OnTextureLoaded |
Use this field to assign the event that occurs when a texture is loaded. More... | |
AvatarCreatedHandle | OnAvatarCreated |
AnimationClipCreatedHandle | OnAnimationClipCreated |
Use this field to assign the event that occurs when an animation is created. More... | |
ObjectLoadedHandle | OnObjectLoaded |
Use this field to assign the event that occurs when the asset is loaded. More... | |
MetadataProcessedHandle | OnMetadataProcessed |
Use this field to assign the event that will occurs when each file metadata is processed. More... | |
BlendShapeKeyCreatedHandle | OnBlendShapeKeyCreated |
Use this field to assign the event that occurs when a blend-shape key is created. More... | |
Base asset loader.
|
protected |
Builds the UnityEngine.GameObject from pre-loaded data.
options | TriLib.AssetLoaderOptions used to build the UnityEngine.GameObject. |
basePath | Base path from the loaded file. |
wrapperGameObject | Wrapper UnityEngine.GameObject to build the object into. |
false
, returns the built UnityEngine.GameObject. When options.UseOriginalPositionRotationAndScale is true
returns the wrapper UnityEngine.GameObject created for the object.
|
protectedvirtual |
Builds the TriLib.MaterialData list for given scene.
basePath | Base model path. |
options | Options used to load the material. |
loadTextureDataCallback | Pass this callback to load texture data from custom sources. |
|
protectedvirtual |
Creates mesh rendering components into given UnityEngine.GameObject.
gameObject | UnityEngine.GameObject to create the components at. |
options | TriLib.AssetLoaderOptions used to create the components. |
mesh | UnityEngine.Mesh to add to the created component. |
hasBoneInfo | If true , creates a UnityEngine.SkinnedMeshRenderer, otherwise, creates a UnityEngine.MeshRenderer. |
combinedMaterials | UnityEngine.Material list to assign to the created component. |
boneNames | Bone names loaded for the given component. |
singleMaterial | Single UnityEngine.Material to assign to the component. |
meshData | MeshData used to store a reference to the created UnityEngine.SkinnedMeshRenderer. |
connectionKey | Key used to build a MeshData connection. |
void TriLib.AssetLoaderBase.Dispose | ( | ) |
|
protectedvirtual |
Generates a unique name, if the given name is empty.
name | Name to check. |
id | Id to generate the unique name. |
|
protectedvirtual |
Generates a unique name using GUIDs, if the given name is empty.
name | Name to check. |
|
protectedvirtual |
Generates a unique node name, if the given name is empty.
name | Node name to check. |
nodeId | Node id to use when the node name is empty or when it already exists. |
|
static |
Returns a string of supported file extensions.
|
protected |
Internally loads a file from file system into it's data representation.
filename | Filename to load. |
basePath | Base path from the loaded file. |
options | TriLib.AssetLoaderOptions used to load the file. |
usesWrapperGameObject | Pass true when using a wrapper UnityEngine.GameObject. |
progressCallback | Callback used to retrieve file loading percentage. |
|
protected |
Internally loads a file from memory into its data representation.
fileBytes | File data to load. |
filename | Filename, in case it doesn't exist, the file extension should be used (eg: ".FBX"). |
basePath | Base path from the loaded file. |
options | TriLib.AssetLoaderOptions used to load the file. |
usesWrapperGameObject | Pass true when using a wrapper UnityEngine.GameObject. |
dataCallback | Custom resource data retrieval callback. Pass this parameter when you need to load external data while loading from memory. |
existsCallback | Custom resource size retrieval callback. Pass this parameter when you need to load external data while loading from memory. |
loadTextureDataCallback | Pass this callback to load texture data from custom sources. |
progressCallback | Callback used to retrieve file loading percentage. |
customFileLoadData | Custom FileLoadData used to store additional asset source information. |
|
protected |
Internally loads a model from memory with custom embedded texture loading for ZIP files.
data | Loaded file data. |
assetExtension | Loaded file extension. |
basePath | Base path from the loaded file. |
options | TriLib.AssetLoaderOptions used to load the file. |
usesWrapperGameObject | Pass true when using a wrapper UnityEngine.GameObject. |
dataCallback | Custom resource data retrieval callback. Pass this parameter when you need to load external data while loading from memory. |
existsCallback | Custom resource size retrieval callback. Pass this parameter when you need to load external data while loading from memory. |
loadTextureDataCallback | Pass this callback to load texture data from custom sources. |
progressCallback | Callback used to retrieve file loading percentage. |
filename | Source filename. |
|
static |
Checks whether the given file extension is supported.
true
, if the extension is supported. Otherwise, false
.
|
protectedvirtual |
Checks if project is using HDRP render pipeline.
true
when project is using HDRP render pipeline.
|
protected |
Loads an embedded texture data.
texture | Assimp texture pointer. |
textureName | Used in case of embedded textures with no name. |
|
protectedvirtual |
Creates a new UnityEngine.Material or loads an existing UnityEngine.Material with the given name.
name | Material name. |
options | TriLib.AssetLoaderOptions used to load the material. |
hasAlpha | If true , creates/loads an alpha material. |
hasSpecular | If true , creates/loads a specular material. |
|
protected |
Tries to load texture data from the given path, searching from basePath.
path | Texture relative path. |
basePath | Model absolute path. |
|
protectedvirtual |
Creates a new UnityEngine.Texture2D or loads an existing UnityEngine.Texture2D with the given path.
path | Path to load the texture from. |
name | Texture name. |
options | TriLib.AssetLoaderOptions used to load the texture. |
embeddedTextureData | TriLib.EmbeddedTextureData to load the texture from. |
textureWrapMode | UnityEngine.TextureWrapMode to assign to the texture. |
hasAlphaChannel | Changed to true when the texture has alpha pixels. |
isNormalMap | If true , applies special processing to the texture and treat it as a normal map. |
checkAlphaChannel | If true , checks for any alpha pixel on loaded texture and assigns the value back to this variable. |
|
protectedvirtual |
Processes the given metadata by triggering the OnMetadataProcessed event.
metadata | TriLib.AssimpMetadata to process. |
|
protected |
Releases allocated resources.
|
protectedvirtual |
Override this method to rename Material Property names when using different Rendering Pipelines or working with custom Materials.
property | Material Property name. |
|
protectedvirtual |
Setups animation components and UnityEngine.AnimationClip clips into the given UnityEngine.GameObject.
gameObject | UnityEngine.GameObject to add the component to. |
options | TriLib.AssetLoaderOptions used to process the components. |
|
protectedvirtual |
Setups the UnityEngine.SkinnedMeshRenderer bone transforms.
gameObject | UnityEngine.GameObject where the bones will be searched. |
|
protectedvirtual |
Transforms the given TriLib.AnimationData into a UnityEngine.AnimationClip.
animationData | TriLib.AnimationData to be transformed. |
options | TriLib.AssetLoaderOptions used to transform the animation. |
gameObject | Transformed UnityEngine.GameObject. |
useWrapperGameObject | Set to true when using a wrapper UnityEngine.GameObject. |
|
protectedvirtual |
Transforms the given TriLib.CameraData into a UnityEngine.Camera.
gameObject | UnityEngine.GameObject to add the UnityEngine.Camera component into. |
cameraData | TriLib.CameraData to be transformed. |
options | TriLib.AssetLoaderOptions used to transform the camera. |
|
protectedvirtual |
Transforms the given TriLib.MaterialData into a UnityEngine.Material.
materialData | TriLib.MaterialData to be transformed. |
options | TriLib.AssetLoaderOptions used to transform the material. |
basePath | Loaded asset base path. |
|
protectedvirtual |
Transforms the given TriLib.MeshData into a UnityEngine.Mesh.
meshData | TriLib.MeshData to be transformed. |
options | TriLib.AssetLoaderOptions used to transform the mesh. |
|
protectedvirtual |
Transforms given TriLib.NodeData into a UnityEngine.GameObject.
nodeData | TriLib.NodeData to be transformed. |
options | TriLib.AssetLoaderOptions used to transform the data. |
existingGameObject | used to add the components to instead of adding to a new object. |
summary> Counts the UnityEngine.Transform total children recursively. /summary> param name="transform">The UnityEngine.Transform to count the children.
|
protected |
Triggers the on animation clip created event.
animationClipIndex | Animation clip index. |
animationClip | Animation clip. |
void TriLib.AssetLoaderBase.TriggerOnAvatarCreated | ( | Avatar | avatar, |
Animator | animator | ||
) |
|
protected |
Triggers the on blend-shape key created event.
mesh | UnityEngine.Mesh where the blend-shape key has been created. |
name | Blend-shape name |
vertices | Blend-shape key vertices. |
normals | Blend-shape key normals. |
tangents | Blend-shape key tangents. |
biTangents | Blend-shape key bi-tangents. |
|
protected |
Triggers the on material created event.
materialIndex | Material index. |
isOverriden | If set to true is overriden. |
material | Material. |
|
protected |
Triggers the on mesh created event.
meshIndex | Mesh index. |
mesh | Mesh. |
|
protected |
Triggers the on metadata processed event.
metadataType | Metadata type. |
metadataIndex | Metadata index. |
metadataKey | Metadata key. |
metadataValue | Metadata value. |
|
protected |
Triggers the on object loaded event.
loadedGameObject | Created UnityEngine.GameObject. |
|
protected |
Triggers the on texture loaded event.
sourcePath | Source path. |
material | Material. |
propertyName | Property name. |
texture | Texture. |
AnimationData [] TriLib.AssetLoaderBase.AnimationData |
Processed TriLib.AnimationData list.
|
protected |
Assimp uses this prefix when loading files from memory.
CameraData [] TriLib.AssetLoaderBase.CameraData |
Processed TriLib.CameraData list.
Dictionary<string, EmbeddedTextureData> TriLib.AssetLoaderBase.EmbeddedTextures |
Loaded EmbeddedTextureData for a given name dictionary.
|
static |
Stores a FileLoadData reference list for callbacks.
bool TriLib.AssetLoaderBase.HasBlendShapes |
Used to temporarily indicate if there are any blend shapes assigned to loaded meshes.
bool TriLib.AssetLoaderBase.HasBoneInfo |
Used to temporarily indicate if there are any bones assigned to loaded meshes.
Dictionary<SkinnedMeshRenderer, IList<string> > TriLib.AssetLoaderBase.LoadedBoneNames |
Loaded bone names for a given UnityEngine.SkinnedMeshRenderer dictionary.
Dictionary<string, Material> TriLib.AssetLoaderBase.LoadedMaterials |
Loaded UnityEngine.Material for a given name dictionary.
Dictionary<string, Texture2D> TriLib.AssetLoaderBase.LoadedTextures |
Loaded UnityEngine.Texture2D for a given name dictionary.
MaterialData [] TriLib.AssetLoaderBase.MaterialData |
Processed TriLib.MaterialData list.
MeshData [] TriLib.AssetLoaderBase.MeshData |
Processed TriLib.MeshData list.
Dictionary<string, MeshData> TriLib.AssetLoaderBase.MeshDataConnections |
UnityEngine.GameObject and MeshData relationship dictionary used to apply blend-shape animations.
AssimpMetadata [] TriLib.AssetLoaderBase.Metadata |
Processed TriLib.AssimpMetadata list.
uint TriLib.AssetLoaderBase.NodeId |
Used to temporarily store nodes id.
Dictionary<string, string> TriLib.AssetLoaderBase.NodesPath |
Processed nodes path dictionary.
|
static |
UnityEngine.Texture used to show when no texture is found.
NodeData TriLib.AssetLoaderBase.RootNodeData |
Main scene TriLib.NodeData.
|
protected |
Pointer to Assimp loaded scene.
|
static |
Base Diffuse Alpha UnityEngine.Material used to load materials.
|
static |
Base Diffuse Cutout UnityEngine.Material used to load materials.
|
static |
Base Diffuse Fade UnityEngine.Material used to load materials.
|
static |
Base Diffuse UnityEngine.Material used to load materials.
|
static |
Base Roughness Alpha UnityEngine.Material used to load materials.
|
static |
Base Roughness Cutout UnityEngine.Material used to load materials.
|
static |
Base Roughness Fade UnityEngine.Material used to load materials.
|
static |
Base Roughness UnityEngine.Material used to load materials.
|
static |
Base Specular Alpha UnityEngine.Material used to load materials.
|
static |
Base Specular Cutout UnityEngine.Material used to load materials.
|
static |
Base Specular Fade UnityEngine.Material used to load materials.
|
static |
Base Specular UnityEngine.Material used to load materials.
|
getprotected |
Gets a value indicating whether this instance has on animation clip created event.
true
if this instance has on animation clip created event; otherwise, false
.
|
get |
|
getprotected |
Gets a value indicating whether this instance has on blend-shape key created event.
true
if this instance has on blend-shape loaded event; otherwise, false
.
|
getprotected |
Gets a value indicating whether this instance has on material created event.
true
if this instance has on material created event; otherwise, false
.
|
getprotected |
Gets a value indicating whether this instance has on mesh created event.
true
if this instance has on mesh created event; otherwise, false
.
|
getprotected |
Gets a value indicating whether this instance has on metadata processed event.
true
if this instance has on metadata processed event; otherwise, false
.
|
getprotected |
Gets a value indicating whether this instance has on object loaded event.
true
if this instance has on object loaded event; otherwise, false
.
|
getprotected |
Gets a value indicating whether this instance has on texture loaded event.
true
if this instance has on texture loaded event; otherwise, false
.
EmbeddedTextureLoadCallback TriLib.AssetLoaderBase.EmbeddedTextureLoad |
Use this field to assign the callback that will be triggered when a texture looks up for embedded data.
AnimationClipCreatedHandle TriLib.AssetLoaderBase.OnAnimationClipCreated |
Use this field to assign the event that occurs when an animation is created.
AvatarCreatedHandle TriLib.AssetLoaderBase.OnAvatarCreated |
BlendShapeKeyCreatedHandle TriLib.AssetLoaderBase.OnBlendShapeKeyCreated |
Use this field to assign the event that occurs when a blend-shape key is created.
MaterialCreatedHandle TriLib.AssetLoaderBase.OnMaterialCreated |
Use this field to assign the event that occurs when a material is created.
MeshCreatedHandle TriLib.AssetLoaderBase.OnMeshCreated |
Use this field to assign the event that occurs when a mesh is loaded.
MetadataProcessedHandle TriLib.AssetLoaderBase.OnMetadataProcessed |
Use this field to assign the event that will occurs when each file metadata is processed.
ObjectLoadedHandle TriLib.AssetLoaderBase.OnObjectLoaded |
Use this field to assign the event that occurs when the asset is loaded.
TextureLoadHandle TriLib.AssetLoaderBase.OnTextureLoaded |
Use this field to assign the event that occurs when a texture is loaded.