Class ShaderGraphVfxAsset
Implements
ISerializationCallbackReceiver
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: UnityEditor.ShaderGraph.Internal
Assembly: Unity.ShaderGraph.Editor.dll
Syntax
public sealed class ShaderGraphVfxAsset : ScriptableObject, ISerializationCallbackReceiver
Fields
AlphaSlotId
Declaration
public const int AlphaSlotId = 4
Field Value
Type | Description |
---|---|
int |
AlphaThresholdSlotId
Declaration
public const int AlphaThresholdSlotId = 7
Field Value
Type | Description |
---|---|
int |
BaseColorSlotId
Declaration
public const int BaseColorSlotId = 1
Field Value
Type | Description |
---|---|
int |
ColorSlotId
Declaration
public const int ColorSlotId = 6
Field Value
Type | Description |
---|---|
int |
EmissiveSlotId
Declaration
public const int EmissiveSlotId = 5
Field Value
Type | Description |
---|---|
int |
MetallicSlotId
Declaration
public const int MetallicSlotId = 2
Field Value
Type | Description |
---|---|
int |
NormalSlotId
Declaration
public const int NormalSlotId = 8
Field Value
Type | Description |
---|---|
int |
SmoothnessSlotId
Declaration
public const int SmoothnessSlotId = 3
Field Value
Type | Description |
---|---|
int |
alphaClipping
Declaration
[SerializeField]
public bool alphaClipping
Field Value
Type | Description |
---|---|
bool |
generatesWithShaderGraph
Declaration
[SerializeField]
public bool generatesWithShaderGraph
Field Value
Type | Description |
---|---|
bool |
lit
Declaration
[SerializeField]
public bool lit
Field Value
Type | Description |
---|---|
bool |
Properties
evaluationFunctionName
Declaration
public string evaluationFunctionName { get; }
Property Value
Type | Description |
---|---|
string |
fragmentProperties
Declaration
public List<AbstractShaderProperty> fragmentProperties { get; }
Property Value
Type | Description |
---|---|
List<AbstractShaderProperty> |
inputStructName
Declaration
public string inputStructName { get; }
Property Value
Type | Description |
---|---|
string |
outputStructName
Declaration
public string outputStructName { get; }
Property Value
Type | Description |
---|---|
string |
properties
Declaration
public List<ShaderInput> properties { get; }
Property Value
Type | Description |
---|---|
List<ShaderInput> |
textureInfos
Declaration
public IEnumerable<TextureInfo> textureInfos { get; }
Property Value
Type | Description |
---|---|
IEnumerable<TextureInfo> |
Methods
GetCode(OutputMetadata[])
Declaration
public GraphCode GetCode(OutputMetadata[] outputs)
Parameters
Type | Name | Description |
---|---|---|
OutputMetadata[] | outputs |
Returns
Type | Description |
---|---|
GraphCode |
GetOutput(int)
Declaration
public OutputMetadata GetOutput(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id |
Returns
Type | Description |
---|---|
OutputMetadata |
HasOutput(int)
Declaration
public bool HasOutput(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id |
Returns
Type | Description |
---|---|
bool |
Implements
UnityEngine.ISerializationCallbackReceiver