Obi  7.0.5
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiLineRopeRenderSystem Class Referenceabstract
Inheritance diagram for Obi.ObiLineRopeRenderSystem:
Obi.RenderSystem< T > Obi.IRenderSystem Obi.ComputeLineRopeRenderSystem

Public Member Functions

 ObiLineRopeRenderSystem (ObiSolver solver)
 
void Dispose ()
 
virtual void Setup ()
 
abstract void RenderFromCamera (Camera camera)
 
abstract void Render ()
 
void Step ()
 
- Public Member Functions inherited from Obi.RenderSystem< T >
Type IRenderSystem. GetRendererType ()
 
virtual bool AddRenderer (T renderer)
 
virtual bool RemoveRenderer (T renderer)
 

Protected Attributes

List< ObiRopeLineRenderersortedRenderers = new List<ObiRopeLineRenderer>()
 
VertexAttributeDescriptor[] layout
 
ObiSolver m_Solver
 
SubMeshDescriptor subMeshDescriptor = new SubMeshDescriptor(0, 0)
 
List< ProceduralRenderBatch
< ProceduralRopeVertex > > 
batchList = new List<ProceduralRenderBatch<ProceduralRopeVertex>>()
 
ObiNativeList< int > pathSmootherIndices
 
ObiNativeList< BurstLineMeshDatarendererData
 
ObiNativeList< int > vertexOffsets
 
ObiNativeList< int > triangleOffsets
 
ObiNativeList< int > vertexCounts
 
ObiNativeList< int > triangleCounts
 
ObiPathSmootherRenderSystem pathSmootherSystem
 

Static Protected Attributes

static ProfilerMarker m_SetupRenderMarker = new ProfilerMarker("SetupExtrudedRopeRendering")
 
static ProfilerMarker m_RenderMarker = new ProfilerMarker("ExtrudedRopeRendering")
 

Properties

Oni.RenderingSystemType typeEnum [get]
 
RendererSet< ObiRopeLineRendererrenderers [get]
 
- Properties inherited from Obi.RenderSystem< T >
RendererSet< T > renderers [get]
 
bool IRenderSystem. isEmpty [get]
 
- Properties inherited from Obi.IRenderSystem
uint tier [get]
 
Oni.RenderingSystemType typeEnum [get]
 
bool isEmpty [get]
 

Member Data Documentation

VertexAttributeDescriptor [] Obi.ObiLineRopeRenderSystem.layout
protected
Initial value:
=
{
new VertexAttributeDescriptor(VertexAttribute.Position, VertexAttributeFormat.Float32, 3),
new VertexAttributeDescriptor(VertexAttribute.Normal, VertexAttributeFormat.Float32, 3),
new VertexAttributeDescriptor(VertexAttribute.Tangent, VertexAttributeFormat.Float32, 4),
new VertexAttributeDescriptor(VertexAttribute.Color, VertexAttributeFormat.Float32, 4),
new VertexAttributeDescriptor(VertexAttribute.TexCoord0, VertexAttributeFormat.Float32, 2),
}
ObiNativeList<BurstLineMeshData> Obi.ObiLineRopeRenderSystem.rendererData
protected

for each renderer, data about smoother.

ObiNativeList<int> Obi.ObiLineRopeRenderSystem.triangleCounts
protected

for each renderer, triangle count.

ObiNativeList<int> Obi.ObiLineRopeRenderSystem.triangleOffsets
protected

for each renderer, triangle offset in its batch mesh data.

ObiNativeList<int> Obi.ObiLineRopeRenderSystem.vertexCounts
protected

for each renderer, vertex count.

ObiNativeList<int> Obi.ObiLineRopeRenderSystem.vertexOffsets
protected

for each renderer, vertex offset in its batch mesh data.


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