BillboardEffect

from acron.core import BillboardEffect
class BillboardEffect

Bases:

Bases: RenderEffect

Indicates that geometry at this node should automatically rotate to face the camera, or any other arbitrary node.

Inheritance diagram

digraph inheritancea681312b22 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BillboardEffect" [URL="acron.core.BillboardEffect.html#acron.core.BillboardEffect",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "RenderEffect" -> "BillboardEffect" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "RenderEffect" [URL="acron.core.RenderEffect.html#acron.core.RenderEffect",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "RenderEffect" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }
get_axial_rotate()

Returns true if this billboard rotates only around the axis of the up vector, or false if it rotates freely in three dimensions.

static get_class_type()
get_eye_relative()

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()

Returns true if this billboard always appears at a fixed distance from the camera.

get_look_at()

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()

Returns the point, relative to the look_at() node, towards which the billboard will rotate. Normally this is (0, 0, 0).

get_offset()

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()

Returns the up vector in effect for this billboard.

is_off()

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().

static make()

Constructs a new BillboardEffect object with the indicated properties.

static make_axis()

A convenience function to make a typical axis-rotating billboard.

static make_point_eye()

A convenience function to make a typical eye-relative point-rotating billboard.

static make_point_world()

A convenience function to make a typical world-relative point-rotating billboard.