Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiTearableClothRenderer Class Reference
Inheritance diagram for Obi.ObiTearableClothRenderer:
Obi.ObiClothRendererMeshFilter Obi.ObiClothRendererBase

Public Member Functions

void UpdateMesh (object sender, ObiTearableCloth.ObiClothTornEventArgs args)
 
- Public Member Functions inherited from Obi.ObiClothRendererBase
virtual void UpdateRenderer (ObiActor actor)
 

Protected Member Functions

override void OnEnable ()
 
override void OnDisable ()
 
override void GetClothMeshData ()
 
override void SetClothMeshData ()
 
- Protected Member Functions inherited from Obi.ObiClothRendererMeshFilter
override void OnBlueprintLoaded (ObiActor actor, ObiActorBlueprint blueprint)
 
override void OnBlueprintUnloaded (ObiActor actor, ObiActorBlueprint blueprint)
 
- Protected Member Functions inherited from Obi.ObiClothRendererBase
virtual void SetupUpdate ()
 
virtual void UpdateActiveVertex (ObiSolver solver, int actorIndex, int meshVertexIndex)
 
virtual void UpdateInactiveVertex (ObiSolver solver, int actorIndex, int meshVertexIndex)
 

Properties

override HalfEdgeMesh topology [get]
 
- Properties inherited from Obi.ObiClothRendererBase
virtual HalfEdgeMesh topology [get]
 
virtual Matrix4x4 renderMatrix [get]
 

Additional Inherited Members

- Public Types inherited from Obi.ObiClothRendererBase
enum  TangentSpaceUpdateMode {
  None, CopyNormalsFromSimulation, RecalculateNormalsFromMesh, RecalculateNormalsAndTangentsFromMesh,
  TransformNormalsAndTangents
}
 
- Public Attributes inherited from Obi.ObiClothRendererBase
TangentSpaceUpdateMode tangentSpaceUpdate = TangentSpaceUpdateMode.TransformNormalsAndTangents
 
bool transferParticleColors = false
 
Mesh clothMesh
 
- Protected Attributes inherited from Obi.ObiClothRendererBase
ObiClothBase cloth
 
List< Vector3 > restNormals = new List<Vector3>()
 
List< Vector4 > restTangents = new List<Vector4>()
 
List< Vector3 > clothVertices = new List<Vector3>()
 
List< Vector3 > clothNormals = new List<Vector3>()
 
List< Vector4 > clothTangents = new List<Vector4>()
 
List< Color > clothColors = new List<Color>()
 
- Events inherited from Obi.ObiClothRendererBase
ObiActor.ActorCallback OnRendererUpdated
 

The documentation for this class was generated from the following file: