Class VisualEffectAssetEditorUtility
Inheritance
System.Object
VisualEffectAssetEditorUtility
Syntax
public static class VisualEffectAssetEditorUtility
Fields
templateAssetName
Declaration
public const string templateAssetName = "Simple Particle System.vfx"
Field Value
Type |
Description |
System.String |
|
templateBlockSubgraphAssetName
Declaration
public const string templateBlockSubgraphAssetName = "Default Subgraph Block.vfxblock"
Field Value
Type |
Description |
System.String |
|
templateOperatorSubgraphAssetName
Declaration
public const string templateOperatorSubgraphAssetName = "Default Subgraph Operator.vfxoperator"
Field Value
Type |
Description |
System.String |
|
Properties
templatePath
Declaration
public static string templatePath { get; }
Property Value
Type |
Description |
System.String |
|
Methods
CreateNew<T>(String)
Declaration
public static T CreateNew<T>(string path)
where T : Object
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type Parameters
CreateNewAsset(String)
Declaration
public static VisualEffectAsset CreateNewAsset(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
VisualEffectAsset |
|
CreateVisualEffectAsset()
Declaration
public static void CreateVisualEffectAsset()
CreateVisualEffectGameObject(MenuCommand)
Declaration
public static void CreateVisualEffectGameObject(MenuCommand menuCommand)
Parameters
Type |
Name |
Description |
MenuCommand |
menuCommand |
|
CreateVisualEffectSubgraph<T, U>(String, String)
Declaration
public static void CreateVisualEffectSubgraph<T, U>(string fileName, string templateName)
where U : EndNameEditAction
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.String |
templateName |
|
Type Parameters
CreateVisualEffectSubgraphBlock()
Declaration
public static void CreateVisualEffectSubgraphBlock()
CreateVisualEffectSubgraphOperator()
Declaration
public static void CreateVisualEffectSubgraphOperator()