Position |
The PositionColoredLineMaterial type exposes the following members.
Name | Description | |
---|---|---|
CreateClone | (Overrides MaterialCreateClone) | |
Dispose |
Dispose
(Overrides MaterialDispose(Boolean)) | |
OnEffectChanged |
OnEffectChanged is called after the effect is changed - overridden methods can return false to prevent the change of effect.
(Overrides MaterialOnEffectChanged(Effect, Effect)) | |
OnInitializeSceneResources |
Initializes resources with the specified Scene and GpuDevice.
This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides LineMaterialOnInitializeSceneResources(Scene, VulkanDevice)) | |
UpdatePositionColors | UpdatePositionColors must be called when the values in the PositionColors array are changed. | |
UpdatePositionColorsTransparency | UpdatePositionColorsTransparency method check if any color in the PositionColors has Opacity value less then 1 and sets HasTransparency accordingly. |