Class VolumeProfileFactory
Inheritance
System.Object
VolumeProfileFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Experimental.Rendering
Syntax
public static class VolumeProfileFactory
Methods
CreateVolumeComponent<T>(VolumeProfile, Boolean, Boolean)
Declaration
public static T CreateVolumeComponent<T>(VolumeProfile profile, bool overrides = false, bool saveAsset = true)where T : VolumeComponent
Parameters
| Type | Name | Description |
|---|---|---|
| VolumeProfile | profile | |
| System.Boolean | overrides | |
| System.Boolean | saveAsset |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
CreateVolumeProfile(Scene, String)
Declaration
public static VolumeProfile CreateVolumeProfile(Scene scene, string targetName)
Parameters
| Type | Name | Description |
|---|---|---|
| Scene | scene | |
| System.String | targetName |
Returns
| Type | Description |
|---|---|
| VolumeProfile |
CreateVolumeProfileAtPath(String)
Declaration
public static VolumeProfile CreateVolumeProfileAtPath(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path |
Returns
| Type | Description |
|---|---|
| VolumeProfile |