Class SerializedDataParameter
A serialization wrapper for VolumeParameter<T>.
Namespace: UnityEditor.Rendering
Syntax
public sealed class SerializedDataParameter
Properties
attributes
A pre-fetched list of all the attributes applied on the VolumeParameter<T>.
Declaration
public Attribute[] attributes { get; }
Property Value
Type | Description |
---|---|
Attribute[] |
displayName
The generated display name of the VolumeParameter<T> for the inspector.
Declaration
public string displayName { get; }
Property Value
Type | Description |
---|---|
String |
overrideState
The serialized property for overrideState.
Declaration
public SerializedProperty overrideState { get; }
Property Value
Type | Description |
---|---|
SerializedProperty |
referenceType
The actual type of the serialized VolumeParameter<T>.
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 |
---|---|
SerializedProperty |
Methods
GetAttribute<T>()
Gets and casts an attribute applied on the base VolumeParameter<T>.
Declaration
public T GetAttribute<T>()
where T : Attribute
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
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 VolumeParameter<T> type |
Type Parameters
Name | Description |
---|---|
T | The type to cast to |