Obi  7.0.5
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiSoftbodySkinner Class Reference
Inheritance diagram for Obi.ObiSoftbodySkinner:
Obi.ObiActorRenderer< T > Obi.IMeshDataProvider Obi.IActorRenderer Obi.ObiRenderer< T >

Classes

struct  BoneWeightComparer
 
struct  StaticClothVertexData
 

Public Member Functions

void GetVertices (List< Vector3 > vertices)
 
void GetNormals (List< Vector3 > normals)
 
void GetTangents (List< Vector4 > tangents)
 
void GetColors (List< Color > colors)
 
void GetUVs (int channel, List< Vector2 > uvs)
 
void GetTriangles (List< int > triangles)
 
void Awake ()
 
void OnEnable ()
 
void OnDisable ()
 
void OnValidate ()
 
virtual void CleanupRenderer ()
 
virtual bool ValidateRenderer ()
 
void InitializeInfluences ()
 
void Bind ()
 
- Public Member Functions inherited from Obi.ObiActorRenderer< T >
void EnableRenderer ()
 
void DisableRenderer ()
 
void SetRendererDirty (Oni.RenderingSystemType type)
 

Public Attributes

ObiSoftbody softbody
 
ObiSkinMap customSkinMap
 
float radius = 0.5f
 
float falloff = 1.0f
 
uint maxInfluences = 4
 
float softbodyInfluence = 1
 
float[] m_softbodyInfluences
 

Static Public Attributes

static VertexAttributeDescriptor[] layout
 

Properties

Renderer sourceRenderer [get, set]
 
Material[] materials [get]
 
virtual ObiSkinMap skinMap [get, set]
 
ObiActor actor [get]
 
uint meshInstances [get]
 
Matrix4x4 renderMatrix [get]
 
Mesh sourceMesh [get, set]
 
int vertexCount [get]
 
int triangleCount [get]
 
- Properties inherited from Obi.IActorRenderer
ObiActor actor [get]
 
- Properties inherited from Obi.IMeshDataProvider
Mesh sourceMesh [get]
 
uint meshInstances [get]
 
int vertexCount [get]
 
int triangleCount [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Obi.ObiActorRenderer< T >
void ObiActorRenderer_OnBlueprintUnloaded (ObiActor act, ObiActorBlueprint blueprint)
 
- Protected Member Functions inherited from Obi.ObiRenderer< T >
bool UnregisterRenderer (ObiSolver solver)
 
bool RegisterRenderer (ObiSolver solver)
 

Member Data Documentation

VertexAttributeDescriptor [] Obi.ObiSoftbodySkinner.layout
static
Initial value:
=
{
new VertexAttributeDescriptor(VertexAttribute.Position, VertexAttributeFormat.Float32, 3,0),
new VertexAttributeDescriptor(VertexAttribute.Normal, VertexAttributeFormat.Float32, 3,0),
new VertexAttributeDescriptor(VertexAttribute.Tangent, VertexAttributeFormat.Float32, 4,0),
new VertexAttributeDescriptor(VertexAttribute.Color, VertexAttributeFormat.Float32, 4,0),
new VertexAttributeDescriptor(VertexAttribute.TexCoord0, VertexAttributeFormat.Float32, 2,1),
new VertexAttributeDescriptor(VertexAttribute.TexCoord1, VertexAttributeFormat.Float32, 2,1),
new VertexAttributeDescriptor(VertexAttribute.TexCoord2, VertexAttributeFormat.Float32, 2,1),
new VertexAttributeDescriptor(VertexAttribute.TexCoord3, VertexAttributeFormat.Float32, 2,1),
}

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