BoundingSphereCullingNode Class |
Namespace: GeonBit.Core.Graphics
public class BoundingSphereCullingNode : CullingNode
The BoundingSphereCullingNode type exposes the following members.
Name | Description | |
---|---|---|
BoundingSphereCullingNode | Initializes a new instance of the BoundingSphereCullingNode class |
Name | Description | |
---|---|---|
CanHoldEntities |
Get if this node can hold renderable entities (if not, it means this node is just for child nodes, and not for entities.
(Inherited from Node.) | |
Empty |
Return true if this node is empty.
(Inherited from Node.) | |
HaveEntities |
Get if this node have any entities in it.
(Inherited from Node.) | |
IsInScreen |
Get if this node is currently visible in camera.
(Overrides CullingNodeIsInScreen.) | |
IsPartlyInScreen |
Get if this node is partly inside screen (eg intersects with camera frustum).
(Overrides CullingNodeIsPartlyInScreen.) | |
LastDrawFrame |
Last frame this node was drawn.
(Inherited from Node.) | |
LocalTransformations |
Return local transformations matrix (note: will recalculate if needed).
(Inherited from Node.) | |
Parent |
Parent node.
(Inherited from Node.) | |
Position |
Get / Set node local position.
(Inherited from Node.) | |
PositionX |
Alias to access position X directly.
(Inherited from Node.) | |
PositionY |
Alias to access position Y directly.
(Inherited from Node.) | |
PositionZ |
Alias to access position Z directly.
(Inherited from Node.) | |
Rotation |
Get / Set node local rotation.
(Inherited from Node.) | |
RotationOrder |
Get / Set the order in which we apply local rotation in this node.
(Inherited from Node.) | |
RotationType |
Get / Set the rotation type (euler / quaternion).
(Inherited from Node.) | |
RotationX |
Alias to access rotation X directly.
(Inherited from Node.) | |
RotationY |
Alias to access rotation Y directly.
(Inherited from Node.) | |
RotationZ |
Alias to access rotation Z directly.
(Inherited from Node.) | |
Scale |
Get / Set node local scale.
(Inherited from Node.) | |
ScaleX |
Alias to access scale X directly.
(Inherited from Node.) | |
ScaleY |
Alias to access scale Y directly.
(Inherited from Node.) | |
ScaleZ |
Alias to access scale Z directly.
(Inherited from Node.) | |
ShouldCull |
Return if we should cull this node in current frame.
(Inherited from CullingNode.) | |
TransformationsOrder |
Get / Set the order in which we apply local transformations in this node.
(Inherited from Node.) | |
TransformVersion |
Transformation version is a special identifier that changes whenever the world transformations
of this node changes. Its not necessarily a sequence, but if you check this number for changes every
frame its a good indication of transformation change.
(Inherited from Node.) | |
UseExternalTransformations |
If true, it means transformations are coming from external source (like a physical body).
If you set it true, this node will no longer calculate transformations on its own, and you'll need to use
'SetWorldTransformsMatrix()' to update the world matrix.
(Inherited from Node.) | |
Visible |
Is this node currently visible?
(Inherited from Node.) | |
WasDrawnThisFrame |
Get if this node was drawn in current frame.
(Inherited from Node.) | |
WorldPosition |
Get position in world space.
(Inherited from Node.) | |
WorldRotation |
Get Rotastion in world space.
(Inherited from Node.) | |
WorldScale |
Get Scale in world space.
(Inherited from Node.) | |
WorldTransformations |
Return world transformations matrix (note: will recalculate if needed).
(Inherited from Node.) |
Name | Description | |
---|---|---|
AddChildNode |
Add a child node to this node.
(Inherited from Node.) | |
AddEntity |
Add an entity to this node.
(Inherited from Node.) | |
BuildTransformationsMatrix |
Build matrix from node transformations.
(Inherited from Node.) | |
Clone |
Clone this scene node.
(Overrides NodeClone.) | |
Draw |
Draw the node and its children.
(Inherited from Node.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FindChildNode |
Find and return first child node by identifier.
(Inherited from Node.) | |
ForceFullUpdate |
Force this node to update transformation and recalculate bounding box and sphere.
(Inherited from Node.) | |
GetBoundingBox |
Get up-to-date bounding box of this node and all its child nodes, and recalculate it if needed.
(Inherited from Node.) | |
GetBoundingSphere |
Get up-to-date bounding sphere of this node and all its child nodes, and recalculate it if needed.
(Inherited from Node.) | |
GetDebugString |
Get a debug string representation of this scene node and its children.
(Inherited from Node.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
OnChildWorldMatrixChange |
Called every time one of the child nodes recalculate world transformations.
(Inherited from CullingNode.) | |
RemoveChildNode |
Remove a child node from this node.
(Inherited from Node.) | |
RemoveEntity |
Remove an entity from this node.
(Inherited from Node.) | |
RemoveFromParent |
Remove this node from its parent.
(Inherited from Node.) | |
ResetTransformations |
Reset all local transformations.
(Inherited from Node.) | |
SetWorldTransforms |
Set world transformations from external source.
To prevent the node from overriding these changes, set 'UseExternalTransformations' to true.
(Inherited from Node.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Transform |
Transform a given transformations and return the result matrix.
(Inherited from Node.) | |
Translate |
Move position by vector.
(Inherited from Node.) | |
UpdateBoundingBox |
Recalculate bounding box of this node and all its child nodes.
(Inherited from Node.) | |
UpdateBoundingSphere |
Calculate bounding sphere and return results.
This also set internal caching.
(Inherited from Node.) | |
UpdateTransformations |
Update transformations for this node and its children, if needed.
(Inherited from Node.) |
Name | Description | |
---|---|---|
DisableCulling |
Is culling enabled for this scene node.
Note: while this is not used for based node types, its a generic property for inheriting nodes.
(Inherited from Node.) | |
Identifier |
Optional identifier we can give to nodes.
(Inherited from Node.) | |
UserData |
Optional user data we can attach to nodes.
(Inherited from Node.) |