C# Класс TressFX.TressFX

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

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

Свойство Тип Описание
g_FollowHairRootOffset UnityEngine.ComputeBuffer
g_GlobalRotations UnityEngine.ComputeBuffer
g_HairRefVecsInLocalFrame UnityEngine.ComputeBuffer
g_HairRestLengthSRV UnityEngine.ComputeBuffer
g_HairStrandType UnityEngine.ComputeBuffer
g_HairThicknessCoeffs UnityEngine.ComputeBuffer
g_HairVertexPositions UnityEngine.ComputeBuffer
g_HairVertexPositionsPrev UnityEngine.ComputeBuffer
g_HairVertexTangents UnityEngine.ComputeBuffer
g_InitialHairPositions UnityEngine.ComputeBuffer
g_LocalRotations UnityEngine.ComputeBuffer
g_TexCoords UnityEngine.ComputeBuffer
hairData TressFXHair

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

Метод Описание
Awake ( ) : void

Start this instance. Initializes all buffers and other resources needed by tressfx simulation and rendering.

OnDestroy ( ) : void

Raises the destroy event. Cleans up all used resources.

Приватные методы

Метод Описание
InitializeBuffer ( System data, int stride ) : ComputeBuffer

Initializes the a new ComputeBuffer.

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

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

Start this instance. Initializes all buffers and other resources needed by tressfx simulation and rendering.
public Awake ( ) : void
Результат void

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

Raises the destroy event. Cleans up all used resources.
public OnDestroy ( ) : void
Результат void

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

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

public ComputeBuffer,UnityEngine g_FollowHairRootOffset
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_GlobalRotations
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_HairRefVecsInLocalFrame
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_HairRestLengthSRV
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_HairStrandType
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_HairThicknessCoeffs
Результат UnityEngine.ComputeBuffer

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

The hair vertex positions buffer.
public ComputeBuffer,UnityEngine g_HairVertexPositions
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_HairVertexPositionsPrev
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_HairVertexTangents
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_InitialHairPositions
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_LocalRotations
Результат UnityEngine.ComputeBuffer

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

public ComputeBuffer,UnityEngine g_TexCoords
Результат UnityEngine.ComputeBuffer

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

public TressFXHair,TressFX hairData
Результат TressFXHair