sealed class
|
DecalFaceState
|
Creates a new instance of DecalFaceState.
public
constructor
|
DecalFaceState
(IShaderEffect effect,
string decalU,
string decalV,
string decalOffset,
string decalWarp)
|
||
params
|
effect
|
[not-null]
|
The shader effect. |
decalU
|
[not-null]
|
Name of shader parameter that will be set to U. | |
decalV
|
[not-null]
|
Name of shader parameter that will be set to V. | |
decalOffset
|
[not-null]
|
Name of shader parameter that will be set to Offset. | |
decalWarp
|
[not-null]
|
Name of shader parameter that will be set to Warp. |
Creates a new instance of DecalFaceState using default names for the shader parameters.
public
static
method
|
Default
(IShaderEffect effect)
|
||
type
|
DecalFaceState
|
||
params
|
effect
|
[not-null]
|
The shader effect. |
returns
|
|
The texture tile state object. |
Remarks:
These are the default shader parameter names:
Applies the given decal state.
public
method
|
Apply
(DecalFace batch)
|
||
params
|
batch
|
The decal batch. |
Remarks:
This method does not call ApplyChanges.