Имя |
Описание |
MaterialParameters |
The Material Parameters class is a serializable class that encapsulates all the parameters needed by a material for a particular primitive. Some examples of material parameters are the Local2World transform matrix, colors or specular intensity values associated with a primitive. You must make the distinction between material variables that are the variables exposed by a shader to render a particular material, and the values of these variables which are contained by an instance of this MaterialParameters class. |
MaterialParameters.Parameter |
Base parameter class |
MaterialParameters.ParameterBool |
|
MaterialParameters.ParameterFloat |
|
MaterialParameters.ParameterFloat2 |
|
MaterialParameters.ParameterFloat3 |
|
MaterialParameters.ParameterFloat4 |
|
MaterialParameters.ParameterInt |
|
MaterialParameters.ParameterMatrix4 |
|
MaterialParameters.ParameterTexture2D |
|
Texture2D |
The texture 2D class wraps a standard Nuaj texture and attaches a unique URL and ID to it so it can be serialized |