BillboardEffect
from panda3d.core import BillboardEffect
- class BillboardEffect
Bases:
RenderEffect
Indicates that geometry at this node should automatically rotate to face the camera, or any other arbitrary node.
Inheritance diagram
- __init__(*args, **kwargs)
- getAxialRotate()
C++ Interface: get_axial_rotate(BillboardEffect self)
- /**
Returns true if this billboard rotates only around the axis of the up
vector, or false if it rotates freely in three dimensions.
*/
- getClassType()
C++ Interface: get_class_type()
- getEyeRelative()
C++ Interface: get_eye_relative(BillboardEffect self)
- /**
Returns true if this billboard interprets the up vector relative to the
camera, or false if it is relative to the world.
*/
- getFixedDepth()
C++ Interface: get_fixed_depth(BillboardEffect self)
- /**
Returns true if this billboard always appears at a fixed distance from the
camera.
*/
- getLookAt()
C++ Interface: get_look_at(BillboardEffect self)
- /**
Returns the node this billboard will rotate to look towards. If this is
empty, it means the billboard will rotate towards the current camera node,
wherever that might be.
*/
- getLookAtPoint()
C++ Interface: get_look_at_point(BillboardEffect self)
- /**
Returns the point, relative to the look_at node, towards which the
billboard will rotate. Normally this is (0, 0, 0).
*/
- getOffset()
C++ Interface: get_offset(BillboardEffect self)
- /**
Returns the distance toward the camera (or the look_at_point) the billboard
is moved towards, after rotating. This can be used to ensure the billboard
is not obscured by nearby geometry.
*/
- getUpVector()
C++ Interface: get_up_vector(BillboardEffect self)
- /**
Returns the up vector in effect for this billboard.
*/
- get_axial_rotate()
C++ Interface: get_axial_rotate(BillboardEffect self)
- /**
Returns true if this billboard rotates only around the axis of the up
vector, or false if it rotates freely in three dimensions.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_eye_relative()
C++ Interface: get_eye_relative(BillboardEffect self)
- /**
Returns true if this billboard interprets the up vector relative to the
camera, or false if it is relative to the world.
*/
- get_fixed_depth()
C++ Interface: get_fixed_depth(BillboardEffect self)
- /**
Returns true if this billboard always appears at a fixed distance from the
camera.
*/
- get_look_at()
C++ Interface: get_look_at(BillboardEffect self)
- /**
Returns the node this billboard will rotate to look towards. If this is
empty, it means the billboard will rotate towards the current camera node,
wherever that might be.
*/
- get_look_at_point()
C++ Interface: get_look_at_point(BillboardEffect self)
- /**
Returns the point, relative to the look_at node, towards which the
billboard will rotate. Normally this is (0, 0, 0).
*/
- get_offset()
C++ Interface: get_offset(BillboardEffect self)
- /**
Returns the distance toward the camera (or the look_at_point) the billboard
is moved towards, after rotating. This can be used to ensure the billboard
is not obscured by nearby geometry.
*/
- get_up_vector()
C++ Interface: get_up_vector(BillboardEffect self)
- /**
Returns the up vector in effect for this billboard.
*/
- isOff()
C++ Interface: is_off(BillboardEffect self)
- /**
Returns true if the BillboardEffect is an ‘off’ BillboardEffect, indicating
that it does not enable billboarding. This kind of BillboardEffect isn’t
particularly useful and isn’t normally created or stored in the graph; it
might be implicitly discovered as the result of a
NodePath::get_rel_state().
*/
- is_off()
C++ Interface: is_off(BillboardEffect self)
- /**
Returns true if the BillboardEffect is an ‘off’ BillboardEffect, indicating
that it does not enable billboarding. This kind of BillboardEffect isn’t
particularly useful and isn’t normally created or stored in the graph; it
might be implicitly discovered as the result of a
NodePath::get_rel_state().
*/
- make()
C++ Interface: make(const LVector3f up_vector, bool eye_relative, bool axial_rotate, float offset, const NodePath look_at, const LPoint3f look_at_point, bool fixed_depth)
- /**
Constructs a new BillboardEffect object with the indicated properties.
*/
- makeAxis()
C++ Interface: make_axis()
- /**
A convenience function to make a typical axis-rotating billboard.
*/
- makePointEye()
C++ Interface: make_point_eye()
- /**
A convenience function to make a typical eye-relative point-rotating
billboard.
*/
- makePointWorld()
C++ Interface: make_point_world()
- /**
A convenience function to make a typical world-relative point-rotating
billboard.
*/
- make_axis()
C++ Interface: make_axis()
- /**
A convenience function to make a typical axis-rotating billboard.
*/