Class SerializedDataParameter
A serialization wrapper for Volume
Inherited Members
Namespace: UnityEditor .Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public sealed class SerializedDataParameter
Properties
attributes
A pre-fetched list of all the attributes applied on the Volume
Declaration
public Attribute[] attributes { get; }
Property Value
Type | Description |
---|---|
Attribute[] |
displayName
The generated display name of the Volume
Declaration
public string displayName { get; }
Property Value
Type | Description |
---|---|
string |
overrideState
The serialized property for override
Declaration
public SerializedProperty overrideState { get; }
Property Value
Type | Description |
---|---|
Serialized |
referenceType
The actual type of the serialized Volume
Declaration
public Type referenceType { get; }
Property Value
Type | Description |
---|---|
Type |
value
The serialized property for value
Declaration
public SerializedProperty value { get; }
Property Value
Type | Description |
---|---|
Serialized |
Methods
GetAttribute<T>()
Gets and casts an attribute applied on the base Volume
Declaration
public T GetAttribute<T>() where T : Attribute
Returns
Type | Description |
---|---|
T | The first attribute of type T found, or null if no such attribute is present. |
Type Parameters
Name | Description |
---|---|
T | The type of the attribute to retrieve. |
GetObjectRef<T>()
Gets and casts the underlying reference of type T
.
Declaration
public T GetObjectRef<T>()
Returns
Type | Description |
---|---|
T | The reference to the serialized Volume |
Type Parameters
Name | Description |
---|---|
T | The type to cast to |