Line |
The LineBaseNode type exposes the following members.
Name | Description | |
---|---|---|
CollectRenderingItems | (Overrides SceneNodeCollectRenderingItems(RenderingContext)) | |
DisconnectMesh | ||
Dispose | (Overrides SceneNodeDispose(Boolean)) | |
DisposeRenderingItems | (Overrides SceneNodeDisposeRenderingItems) | |
DisposeWithMaterial | 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. | |
GetCenterPosition |
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)) | |
GetMesh | Returns the mesh that is used by this ModelNode. | |
GetOverviewText | (Overrides SceneNodeGetOverviewText(StringBuilder, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)) | |
OnInitializeSceneResources | (Overrides InitializedSceneComponentOnInitializeSceneResources(Scene, VulkanDevice)) | |
OnIsVisibleChanged | (Overrides SceneNodeOnIsVisibleChanged(Boolean)) | |
OnUpdate | (Overrides SceneNodeOnUpdate) | |
OnWorldMatrixChanged | (Overrides SceneNodeOnWorldMatrixChanged) | |
SetMesh | 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. | |
UpdateLocalBoundingBox | (Overrides SceneNodeUpdateLocalBoundingBox) | |
UpdateRenderingItemMesh | ||
UpdateWorldBoundingBox | (Overrides SceneNodeUpdateWorldBoundingBox) |