| Name | Description |
---|
| StandardMaterial(String) |
Constructor
|
| StandardMaterial(Color3, String) |
StandardMaterial constructor with a diffuse color (Opacity is 1)
|
| StandardMaterial(Color4, String) |
StandardMaterial constructor with diffuse color and opacity specified in Color4 struct (opacity is set from color's alpha value).
|
| StandardMaterial(Color3, Single, String) |
StandardMaterial constructor with a diffuse color and an opacity value
|
| StandardMaterial(GpuImage, CommonSamplerTypes, String) |
StandardMaterial constructor with diffuse texture.
The textureImage is not disposed when disposing this material.
|
| StandardMaterial(Color3, Single, Single, String) |
StandardMaterial constructor with a diffuse color and an opacity value
|
| StandardMaterial(String, IBitmapIO, CommonSamplerTypes, Single, String) |
StandardMaterial constructor with file name of the diffuse texture.
The texture will be lazily loaded when this material will be initialized.
When the created GpuImage is not cached by the Scene (defined by static UseSceneCacheForTextures) or GpuDevice (defined by static UseGpuDeviceCacheForTextures), then it is disposed when this Material is disposed.
|
| StandardMaterial(Stream, String, IBitmapIO, CommonSamplerTypes, Single, String) |
StandardMaterial constructor with file stream of the diffuse texture.
The texture will be lazily loaded when this material will be initialized.
When the created GpuImage is not cached by the Scene (defined by static UseSceneCacheForTextures) or GpuDevice (defined by static UseGpuDeviceCacheForTextures), then it is disposed when this Material is disposed.
|