Class VolumeProfile
Inheritance
System.Object
VolumeProfile
Syntax
public sealed class VolumeProfile : ScriptableObject
Fields
components
Declaration
public List<VolumeComponent> components
Field Value
isDirty
Declaration
[NonSerialized]
public bool isDirty
Field Value
Type |
Description |
System.Boolean |
|
Methods
Add(Type, Boolean)
Declaration
public VolumeComponent Add(Type type, bool overrides = false)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Boolean |
overrides |
|
Returns
Add<T>(Boolean)
Declaration
public T Add<T>(bool overrides = false)
where T : VolumeComponent
Parameters
Type |
Name |
Description |
System.Boolean |
overrides |
|
Returns
Type Parameters
Has(Type)
Declaration
public bool Has(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
Has<T>()
Declaration
public bool Has<T>()
where T : VolumeComponent
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
HasSubclassOf(Type)
Declaration
public bool HasSubclassOf(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
Remove(Type)
Declaration
public void Remove(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Remove<T>()
Declaration
public void Remove<T>()
where T : VolumeComponent
Type Parameters
Reset()
Declaration
TryGet<T>(out T)
Declaration
public bool TryGet<T>(out T component)
where T : VolumeComponent
Parameters
Type |
Name |
Description |
T |
component |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
TryGet<T>(Type, out T)
Declaration
public bool TryGet<T>(Type type, out T component)
where T : VolumeComponent
Parameters
Type |
Name |
Description |
System.Type |
type |
|
T |
component |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
TryGetAllSubclassOf<T>(Type, List<T>)
Declaration
public bool TryGetAllSubclassOf<T>(Type type, List<T> result)
where T : VolumeComponent
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Collections.Generic.List<T> |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
TryGetSubclassOf<T>(Type, out T)
Declaration
public bool TryGetSubclassOf<T>(Type type, out T component)
where T : VolumeComponent
Parameters
Type |
Name |
Description |
System.Type |
type |
|
T |
component |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters