![]() | |
Primitive |
public class PrimitiveIdMaterial : Material, ITwoSidedMaterial
The PrimitiveIdMaterial type exposes the following members.
Name | Description | |
---|---|---|
![]() | PrimitiveIdMaterial(String) | PrimitiveIdMaterial constructor. |
![]() | PrimitiveIdMaterial(Color4, String) | PrimitiveIdMaterial constructor with Color4 that is added to the color that is calculated from the primitive id |
Name | Description | |
---|---|---|
![]() | AddedColor | Gets or sets a Color4 that is added to the color that is calculated from the primitive id. Default value is (0, 0, 0, 0). It can be used when other objects are rendered to the same ID bitmap to distinguish the object with this material from other objects. |
![]() | IsTwoSided | Gets a Boolean that specifies if the material should be rendered on both front and back side. |
Name | Description | |
---|---|---|
![]() | CreateClone | (Overrides MaterialCreateClone) |
![]() | OnInitializeSceneResources |
Initializes resources with the specified Scene and GpuDevice.
This method can be overriden and is called from InitializeSceneResources(Scene) method.
(Overrides MaterialOnInitializeSceneResources(Scene, VulkanDevice)) |
[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Materials.PrimitiveIdMaterial"]