Protected_Bounding box in this transform's local coordinate space
Protected_Bounding circle in this transform's local coordinate space
Protected_The position of this node as a Vector3.
Protected_The rotation of this transform represented as a quaternion.
Protected_The scale of this node as a Vector3.
Protected_Bounding box in the world coordinate space
Protected_Bounding box in the world coordinate space
The bounding box in vertex coordinate space
The bounding sphere in vertex coordinate space
ReadonlycolorProtected ReadonlyglFlag that determines whether to use vertex colors.
ProtectedlocalProtectedlocalProtectedlocalProtectedlocalThe local transformation matrix of this node.
The world transformation matrix of this node.
The parent transform of this transform. Null if this transform has no parent.
ReadonlypositionWhether this transform is currently visible in the scene.
ProtectedworldDraws this transform and all its children in the scene graph.
The parent transform of this transform.
The camera used to view the scene.
The light manager used to manage the lights in the scene.
Checks for intersection between this Node3 and another
The other Node3 object
The IntersectionMode3 to use for the comparison (default: BOUNDING_SPHERE)
The CoordinateSpace3 to use for the comparison (default: LOCAL_SPACE)
Whether or not the two objects intersect
Rotates this Node3 object to look at the given target with the given up vector
The Vector3 representing the target in world space
The Vector3 representing the up direction (defaults to Vector3.UP)
Removes the current Node3 from its parent Node3
true if the Node3 was successfully removed, false otherwise
Sets lights on the children of the Node3
The LightManager object
Traverses the scene graph starting from this Node3 object and updates the world matrices of all Node3 objects in the graph.
Updates the world matrix of this Node3 by computing the multiplication of its local matrix with its parent's world matrix (if it has a parent).
void
The base class for 3D lines. This class extends Node3 so it can be added directly to the GopherGfx 3D scene graph. The class can draw line segments, line strips, and line loops. The vertices are interpreted differently depending upon the LineMode3 that is set. WebGL only supports lines that are exactly 1 pixel thick. These can look a bit strange in 3D scenes because the thickness of the line does not vary with the depth from the camera. So, the lines that this class can draw are most useful as quick debugging aids. To draw a more substantial "line" that actually behaves like it has some thickness in your 3D scene, you need to construct your line using triangles.