Click or drag to resize
Ab4d.SharpEngine logo

LineBaseNode Methods

The LineBaseNode type exposes the following members.

Methods
 NameDescription
Public methodCollectRenderingItems
(Overrides SceneNode.CollectRenderingItems(RenderingContext))
Protected methodCreateRenderingItem 
Protected methodDisconnectMesh 
Protected methodDispose
(Overrides SceneNode.Dispose(Boolean))
Protected methodDisposeEndLineCapData 
Public methodDisposeRenderingItems
(Overrides SceneNode.DisposeRenderingItems())
Protected methodDisposeStartLineCapData 
Public methodDisposeWithMaterial DisposeWithMaterial disposes this SceneNode and also disposes the Material even if the material is created by the user and then used in the constructor of this SceneNode (in this case the standard Dispose method does not dispose the materials). This also always disposes the mesh, because it for lines the mesh is always created by the SceneNode.
Public methodGetCenterPosition Returns center position of this line. Center position is calculated from the center position of the line mesh that is transformed by the Transform (when applyTransformation is true). When mesh is not defined, then (0, 0, 0) is returned (regardless of the Transformation).
(Overrides RenderedNode.GetCenterPosition(Boolean, Boolean))
Public methodGetMesh Returns the mesh that is used by this ModelNode.
Public methodGetOverviewText
(Overrides SceneNode.GetOverviewText(StringBuilder, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean))
Protected methodOnInitializeSceneResources
(Overrides InitializedSceneComponent.OnInitializeSceneResources(Scene, VulkanDevice))
Protected methodOnIsVisibleChanged
(Overrides SceneNode.OnIsVisibleChanged(Boolean))
Protected methodOnUpdate
(Overrides SceneNode.OnUpdate())
Protected methodOnWorldMatrixChanged
(Overrides SceneNode.OnWorldMatrixChanged())
Public methodSetMaxLineArrowLength SetMaxLineArrowLength method sets a custom maxLineArrowLength to be used by this line. This overrides the default value that is set by the static MaxLineArrowLength property (see this property for more info).
Protected methodSetMesh SetMesh is a protected method that sets the mesh that is used for this SceneNode. The method disconnects and disposes the previous mesh (if any). If the new mesh was not yet initialized and if this scene node was, it calls InitializeDeviceResources() method. The method also sets the disposeMesh to true - this will dispose the mesh when this SceneNode is disposed.
Public methodSetMinLineArrowLength SetMinLineArrowLength method sets a custom minLineArrowLength to be used by this line. This overrides the default value that is set by the static MinLineListArrowLength property (see this property for more info).
Protected methodUpdateLocalBoundingBox
(Overrides SceneNode.UpdateLocalBoundingBox())
Protected methodUpdateRenderingItemMesh 
Protected methodUpdateWorldBoundingBox
(Overrides SceneNode.UpdateWorldBoundingBox())
Top
See Also