C# Класс TressFX.ATressFXRender

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
g_LineIndicesBuffer UnityEngine.ComputeBuffer
shadowShader UnityEngine.Shader

Защищенные свойства (Protected)

Свойство Тип Описание
_master TressFX
g_TriangleIndicesBuffer UnityEngine.ComputeBuffer
lineMeshes UnityEngine.Mesh[]
shadowMaterial UnityEngine.Material
triangleMeshes UnityEngine.Mesh[]

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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 ( Matrix4x4 matrix ) : float[]

Convertes a Matrix4x4 to a float array.

RenderShadows ( ) : void

Submits draw calls to unitys rendering system to render hair shadows.

SetSimulationTransformCorrection ( Material mat ) : void

Sets the simulation upscaling correction paramters to the given material.

Описание методов

Awake() публичный Метод

public Awake ( ) : void
Результат void

GenerateLineMeshes() защищенный Метод

Generates the line meshes. Meshes are built of indices. Every vertices x-position will contain a vertex list index.
protected GenerateLineMeshes ( ) : UnityEngine.Mesh[]
Результат UnityEngine.Mesh[]

GenerateTriangleMeshes() защищенный Метод

Generates the triangle meshes. Meshes are built of indices. Every vertices x-position will contain a triangleindex buffer index.
protected GenerateTriangleMeshes ( ) : UnityEngine.Mesh[]
Результат UnityEngine.Mesh[]

MatrixToFloatArray() защищенный статический Метод

Convertes a Matrix4x4 to a float array.
protected static MatrixToFloatArray ( Matrix4x4 matrix ) : float[]
matrix UnityEngine.Matrix4x4 Matrix.
Результат float[]

OnDestroy() публичный Метод

Raises the destroy event. Releases all resources not needed any more.
public OnDestroy ( ) : void
Результат void

RenderShadows() защищенный Метод

Submits draw calls to unitys rendering system to render hair shadows.
protected RenderShadows ( ) : void
Результат void

SetSimulationTransformCorrection() защищенный Метод

Sets the simulation upscaling correction paramters to the given material.
protected SetSimulationTransformCorrection ( Material mat ) : void
mat UnityEngine.Material
Результат void

Update() публичный Метод

public Update ( ) : void
Результат void

Описание свойств

_master защищенное свойство

The TressFX master class.
protected TressFX,TressFX _master
Результат TressFX

g_LineIndicesBuffer публичное свойство

The line indices buffer.
public ComputeBuffer,UnityEngine g_LineIndicesBuffer
Результат UnityEngine.ComputeBuffer

g_TriangleIndicesBuffer защищенное свойство

The triangle indices buffer.
protected ComputeBuffer,UnityEngine g_TriangleIndicesBuffer
Результат UnityEngine.ComputeBuffer

lineMeshes защищенное свойство

The line meshes.
protected Mesh[],UnityEngine lineMeshes
Результат UnityEngine.Mesh[]

shadowMaterial защищенное свойство

The shadow material.
protected Material,UnityEngine shadowMaterial
Результат UnityEngine.Material

shadowShader публичное свойство

The shadow shader.
public Shader,UnityEngine shadowShader
Результат UnityEngine.Shader

triangleMeshes защищенное свойство

The triangle meshes. Meshes are built of indices. Every vertices x-position will contain a triangleindex buffer index.
protected Mesh[],UnityEngine triangleMeshes
Результат UnityEngine.Mesh[]