Class WaterFoamGenerator
Procedural water foam generator component.
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
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)
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class WaterFoamGenerator : MonoBehaviour
Fields
deepFoamDimmer
Specifies a dimmer for the deep foam.
Declaration
[Range(0, 1)]
public float deepFoamDimmer
Field Value
Type | Description |
---|---|
float |
regionSize
Specifies the size of the generator in meters.
Declaration
public Vector2 regionSize
Field Value
Type | Description |
---|---|
Vector2 |
scaleMode
The scaling mode to apply to this Foam Generator.
Declaration
[Tooltip("Specify the scaling mode")]
public DecalScaleMode scaleMode
Field Value
Type | Description |
---|---|
DecalScaleMode |
surfaceFoamDimmer
Specifies the dimmer for the surface foam.
Declaration
[Range(0, 1)]
public float surfaceFoamDimmer
Field Value
Type | Description |
---|---|
float |
texture
Specifies the texture used for the deformer.
Declaration
public Texture texture
Field Value
Type | Description |
---|---|
Texture |
type
Specifies the type of the generator. This parameter defines which parameters will be used to render it.
Declaration
public WaterFoamGeneratorType type
Field Value
Type | Description |
---|---|
WaterFoamGeneratorType |