17 INLINE BillboardEffect::
27 return make(LVector3::up(),
false,
true,
28 0.0f,
NodePath(), LPoint3(0.0f, 0.0f, 0.0f));
37 return make(LVector3::up(),
true,
false,
38 0.0f,
NodePath(), LPoint3(0.0f, 0.0f, 0.0f));
47 return make(LVector3::up(),
false,
false,
48 0.0f,
NodePath(), LPoint3(0.0f, 0.0f, 0.0f));
124 return _look_at_point;
const LVector3 & get_up_vector() const
Returns the up vector in effect for this billboard.
bool get_axial_rotate() const
Returns true if this billboard rotates only around the axis of the up vector, or false if it rotates ...
bool is_off() const
Returns true if the BillboardEffect is an 'off' BillboardEffect, indicating that it does not enable b...
PN_stdfloat get_offset() const
Returns the distance toward the camera (or the look_at_point) the billboard is moved towards,...
This is the base class for a number of special render effects that may be set on scene graph nodes to...
bool get_fixed_depth() const
Returns true if this billboard always appears at a fixed distance from the camera.
CPT(RenderEffect) BillboardEffect
A convenience function to make a typical axis-rotating billboard.
const LPoint3 & get_look_at_point() const
Returns the point, relative to the look_at node, towards which the billboard will rotate.
const NodePath & get_look_at() const
Returns the node this billboard will rotate to look towards.
bool get_eye_relative() const
Returns true if this billboard interprets the up vector relative to the camera, or false if it is rel...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...