Download data/Assets/Scripts/Learning/PhysxCustomized/CustomDiffuseMaterialFluidArrayActor.cs from introvoyz042/CRESSim: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/datasets/introvoyz042/CRESSim/resolve/main/data/Assets/Scripts/Learning/PhysxCustomized/CustomDiffuseMaterialFluidArrayActor.cs
- Command line
-
hf download hf://datasets/introvoyz042/CRESSim/data/Assets/Scripts/Learning/PhysxCustomized/CustomDiffuseMaterialFluidArrayActor.cs
-
curl -L -o CustomDiffuseMaterialFluidArrayActor.cs https://huggingface.co/datasets/introvoyz042/CRESSim/resolve/main/data/Assets/Scripts/Learning/PhysxCustomized/CustomDiffuseMaterialFluidArrayActor.cs
555 Bytes
| using System.Collections; | |
| using System.Collections.Generic; | |
| using PhysX5ForUnity; | |
| using UnityEngine; | |
| public class CustomDiffuseMaterialFluidArrayActor : PhysxFluidArrayActor, ICustomFluidActor | |
| { | |
| public float MaterialState | |
| { | |
| get { return m_materialState; } | |
| } | |
| public int ParticleMaterialChangeCount | |
| { | |
| get { return m_particleMaterialChangeCount; } | |
| set { m_particleMaterialChangeCount = value; } | |
| } | |
| [] | |
| private float m_materialState; | |
| private int m_particleMaterialChangeCount; | |
| } | |