Свойство | Тип | Описание | |
---|---|---|---|
g_LineIndicesBuffer | |||
shadowShader |
Свойство | Тип | Описание | |
---|---|---|---|
_master | |||
g_TriangleIndicesBuffer | |||
lineMeshes | UnityEngine.Mesh[] | ||
shadowMaterial | |||
triangleMeshes | UnityEngine.Mesh[] |
Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
OnDestroy ( ) : void |
Raises the destroy event. Releases all resources not needed any more.
|
|
Update ( ) : void |
Метод | Описание | |
---|---|---|
GenerateLineMeshes ( ) : UnityEngine.Mesh[] |
Generates the line meshes. Meshes are built of indices. Every vertices x-position will contain a vertex list index.
|
|
GenerateTriangleMeshes ( ) : UnityEngine.Mesh[] |
Generates the triangle meshes. Meshes are built of indices. Every vertices x-position will contain a triangleindex buffer index.
|
|
MatrixToFloatArray ( |
Convertes a Matrix4x4 to a float array.
|
|
RenderShadows ( ) : void |
Submits draw calls to unitys rendering system to render hair shadows.
|
|
SetSimulationTransformCorrection ( |
Sets the simulation upscaling correction paramters to the given material.
|
protected GenerateLineMeshes ( ) : UnityEngine.Mesh[] | ||
Результат | UnityEngine.Mesh[] |
protected GenerateTriangleMeshes ( ) : UnityEngine.Mesh[] | ||
Результат | UnityEngine.Mesh[] |
protected static MatrixToFloatArray ( |
||
matrix | Matrix. | |
Результат | float[] |
protected SetSimulationTransformCorrection ( |
||
mat | ||
Результат | void |
public ComputeBuffer,UnityEngine g_LineIndicesBuffer | ||
Результат |
protected ComputeBuffer,UnityEngine g_TriangleIndicesBuffer | ||
Результат |
protected Material,UnityEngine shadowMaterial | ||
Результат |