Position | |
public class PositionColoredLineMaterial : LineMaterial, IVertexColorMaterial, ITransparentMaterial
The PositionColoredLineMaterial type exposes the following members.
| Name | Description | |
|---|---|---|
| PositionColoredLineMaterial | Constructor |
| Name | Description | |
|---|---|---|
| CreateDynamicBuffer | Gets or sets a Boolean that specifies if a dynamic vertex buffer will be created from the PositionColors array. This can be used in case when the colors change very often. | |
| HasTransparency | Gets a boolean that specifies if this material is semi-transparent and needs to be alpha blended with the scene. | |
| PositionColors | Gets or sets the Color4 array that specifies the colors for each position of the object. | |
| VertexColorsVertexBufferBinding | Gets a VertexBufferBinding for an array of Color4 values where each value represents a color of one position. |
| Name | Description | |
|---|---|---|
| GetDefaultRenderingQueue |
Returns the RenderingQueue that should be used to render this material.
(Overrides LineMaterialGetDefaultRenderingQueue(DXScene)) | |
| ToString |
ToString
(Overrides LineMaterialToString) | |
| Update | Update method updates the DirectX vertex buffer from the current values of PositionColors. |