AssetType AnimationGraph { get; set; }

robot_2Generated
code_blocksInput

Description

The AnimationGraph property represents the asset type for Animation Graph files, which have the file extension .vanmgrph. This asset type is used within the editor to manage and manipulate animation graphs, which are essential for defining complex animation behaviors in a visual manner.

Usage

Use the AnimationGraph property to access the asset type for animation graphs when working with assets in the editor. This can be useful for filtering assets, loading specific types of assets, or when creating new assets of this type.

Example

// Example of using the AnimationGraph asset type
var animationGraphType = Editor.AssetType.AnimationGraph;

// Use the asset type to find all animation graph assets
var allAnimationGraphs = Editor.AssetType.Find("AnimationGraph", true);

// Check if a specific asset is of type AnimationGraph
bool isAnimationGraph = someAsset.Type == animationGraphType;