Click or drag to resize
Ab4d.SharpEngine logo

PositionColoredLineMaterial Methods

The PositionColoredLineMaterial type exposes the following members.

Methods
 NameDescription
Protected methodCreateClone
(Overrides MaterialCreateClone)
Protected methodDispose Dispose
(Overrides MaterialDispose(Boolean))
Protected methodOnEffectChanged OnEffectChanged is called after the effect is changed - overridden methods can return false to prevent the change of effect.
(Overrides MaterialOnEffectChanged(Effect, Effect))
Protected methodOnInitializeSceneResources Initializes resources with the specified Scene and GpuDevice. This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides LineMaterialOnInitializeSceneResources(Scene, VulkanDevice))
Public methodUpdatePositionColors UpdatePositionColors must be called when the values in the PositionColors array are changed.
Public methodUpdatePositionColorsTransparency UpdatePositionColorsTransparency method check if any color in the PositionColors has Opacity value less then 1 and sets HasTransparency accordingly.
Top
See Also