![]() | |
Solid |
public class SolidColorMaterial : StandardMaterialBase
The SolidColorMaterial type exposes the following members.
Name | Description | |
---|---|---|
![]() | SolidColorMaterial(String) | SolidColorMaterial constructor. |
![]() | SolidColorMaterial(Color3, String) | SolidColorMaterial constructor with a diffuse color (Opacity is 1) |
![]() | SolidColorMaterial(Color4, String) | SolidColorMaterial constructor with diffuse color and opacity specified in Color4 struct (opacity is set from color's alpha value). |
![]() | SolidColorMaterial(Color3, Single, String) | SolidColorMaterial constructor with a diffuse color and an opacity value |
![]() | SolidColorMaterial(GpuImage, CommonSamplerTypes, String) | StandardMaterial constructor with diffuse texture. The textureImage is not disposed when disposing this material. |
![]() | SolidColorMaterial(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. The loaded texture is disposed when disposing this material. |
![]() | SolidColorMaterial(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. The loaded texture is disposed when disposing this material. |
Name | Description | |
---|---|---|
![]() | CreateClone | (Overrides MaterialCreateClone) |
![]() | OnInitializeSceneResources |
Initializes resources with the specified Scene and GpuDevice.
This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides StandardMaterialBaseOnInitializeSceneResources(Scene, VulkanDevice)) |