DecalFramework Reference |
DecalCreator.CreateFluidDecal (Frameshift.Decal.DecalType, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.GameObject, UnityEngine.Material) Method |
See Also Example |
Creates fluid decal mesh and fluid game object with render sub-system
Namespace:
Frameshift.Decal
Assembly: Frameshift.Decal (in Frameshift.Decal.dll)
Syntax
C# |
---|
public static GameObject CreateFluidDecal( |
Parameters
- decalType
-
Type of Decal that will be created.
- point
-
Point in world space where Decal will be calculated.
- forward
-
Direction of decal. Usually -hit.normal.
- obj
-
GameObject on which Decal will be created.
- materialOverride
-
Material override for Decal
Return Value
Decal Object and render sub-systemExample
Copy Code | |
---|---|
|
Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.