Class InstancedMeshRenderer
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Namespace: IVLab.ABREngine
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public class InstancedMeshRenderer : MonoBehaviour
Fields
| Improve this Doc View Sourceblock
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public MaterialPropertyBlock block
Field Value
| Type | Description |
|---|---|
| MaterialPropertyBlock |
bounds
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public Bounds bounds
Field Value
| Type | Description |
|---|---|
| Bounds |
cachedInstanceCount
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public int cachedInstanceCount
Field Value
| Type | Description |
|---|---|
| int |
instanceCount
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public int instanceCount
Field Value
| Type | Description |
|---|---|
| int |
instanceDensity
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public float instanceDensity
Field Value
| Type | Description |
|---|---|
| float |
instanceLocalTransforms
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public Matrix4x4[] instanceLocalTransforms
Field Value
| Type | Description |
|---|---|
| Matrix4x4[] |
instanceMaterial
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public Material instanceMaterial
Field Value
| Type | Description |
|---|---|
| Material |
instanceMesh
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public Mesh instanceMesh
Field Value
| Type | Description |
|---|---|
| Mesh |
renderInfo
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public Vector4[] renderInfo
Field Value
| Type | Description |
|---|---|
| Vector4[] |
subMeshIndex
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public int subMeshIndex
Field Value
| Type | Description |
|---|---|
| int |
useInstanced
Custom-tailored Instanced Mesh Renderer for rendering glyphs in ABR. When using this, developers should make sure that "Use Instanced" is checked on the material that these glyphs are using.
Declaration
public bool useInstanced
Field Value
| Type | Description |
|---|---|
| bool |