Click or drag to resize
Ab4d.SharpEngine logo

LineBaseNode Methods

The LineBaseNode type exposes the following members.

Methods
 NameDescription
Public methodCollectRenderingItems
(Overrides SceneNodeCollectRenderingItems(RenderingContext))
Protected methodDisconnectMesh 
Protected methodDispose
(Overrides SceneNodeDispose(Boolean))
Public methodDisposeRenderingItems
(Overrides SceneNodeDisposeRenderingItems)
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 RenderedNodeGetCenterPosition(Boolean, Boolean))
Public methodGetMesh Returns the mesh that is used by this ModelNode.
Public methodGetOverviewText
(Overrides SceneNodeGetOverviewText(StringBuilder, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean))
Protected methodOnInitializeSceneResources
(Overrides InitializedSceneComponentOnInitializeSceneResources(Scene, VulkanDevice))
Protected methodOnIsVisibleChanged
(Overrides SceneNodeOnIsVisibleChanged(Boolean))
Protected methodOnUpdate
(Overrides SceneNodeOnUpdate)
Protected methodOnWorldMatrixChanged
(Overrides SceneNodeOnWorldMatrixChanged)
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.
Protected methodUpdateLocalBoundingBox
(Overrides SceneNodeUpdateLocalBoundingBox)
Protected methodUpdateRenderingItemMesh 
Protected methodUpdateWorldBoundingBox
(Overrides SceneNodeUpdateWorldBoundingBox)
Top
See Also