CLerpNodePathInterval
from panda3d.direct import CLerpNodePathInterval
- class CLerpNodePathInterval
- Bases: - CLerpInterval- An interval that lerps one or more properties (like pos, hpr, etc.) on a NodePath over time. - Inheritance diagram - __init__(*args, **kwargs)
 - getClassType()
- C++ Interface: get_class_type() 
 - getNode()
- C++ Interface: get_node(CLerpNodePathInterval self) - /**
- Returns the node being lerped. 
 - */ 
 
 - getOther()
- C++ Interface: get_other(CLerpNodePathInterval self) - /**
- Returns the “other” node, which the lerped node is being moved relative to. 
- If this is an empty node path, the lerped node is being moved in its own 
- coordinate system. 
 - */ 
 
 - getOverride()
- C++ Interface: get_override(CLerpNodePathInterval self) - /**
- Returns the override value that will be associated with any state changes 
- applied by the lerp. See set_override(). 
 - */ 
 
 - get_class_type()
- C++ Interface: get_class_type() 
 - get_node()
- C++ Interface: get_node(CLerpNodePathInterval self) - /**
- Returns the node being lerped. 
 - */ 
 
 - get_other()
- C++ Interface: get_other(CLerpNodePathInterval self) - /**
- Returns the “other” node, which the lerped node is being moved relative to. 
- If this is an empty node path, the lerped node is being moved in its own 
- coordinate system. 
 - */ 
 
 - get_override()
- C++ Interface: get_override(CLerpNodePathInterval self) - /**
- Returns the override value that will be associated with any state changes 
- applied by the lerp. See set_override(). 
 - */ 
 
 - setEndColor()
- C++ Interface: set_end_color(const CLerpNodePathInterval self, const LVecBase4f color) - /**
- Indicates that the color of the node should be lerped, and specifies the 
- final color of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s color will not be affected by the lerp. 
 - */ 
 
 - setEndColorScale()
- C++ Interface: set_end_color_scale(const CLerpNodePathInterval self, const LVecBase4f color_scale) - /**
- Indicates that the color scale of the node should be lerped, and specifies 
- the final color scale of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s color scale will not 
- be affected by the lerp. 
 - */ 
 
 - setEndHpr()
- C++ Interface: set_end_hpr(const CLerpNodePathInterval self, const LQuaternionf quat) set_end_hpr(const CLerpNodePathInterval self, const LVecBase3f hpr) - /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This replaces a previous call to set_end_quat(). If neither set_end_hpr() 
- nor set_end_quat() is called, the node’s rotation will not be affected by 
- the lerp. 
 - */ 
- /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This special function is overloaded to accept a quaternion, even though the 
- function name is set_end_hpr(). The quaternion will be implicitly 
- converted to a HPR trio, and the lerp will be performed in HPR space, 
- componentwise. 
 - */ 
 
 - setEndPos()
- C++ Interface: set_end_pos(const CLerpNodePathInterval self, const LVecBase3f pos) - /**
- Indicates that the position of the node should be lerped, and specifies the 
- final position of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s position will not be 
- affected by the lerp. 
 - */ 
 
 - setEndQuat()
- C++ Interface: set_end_quat(const CLerpNodePathInterval self, const LQuaternionf quat) set_end_quat(const CLerpNodePathInterval self, const LVecBase3f hpr) - /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This replaces a previous call to set_end_hpr(). If neither set_end_quat() 
- nor set_end_hpr() is called, the node’s rotation will not be affected by 
- the lerp. 
- This special function is overloaded to accept a HPR trio, even though the 
- function name is set_end_quat(). The HPR will be implicitly converted to a 
- quaternion, and the lerp will be performed in quaternion space, as a 
- spherical lerp. 
 - */ 
- /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This replaces a previous call to set_end_hpr(). If neither set_end_quat() 
- nor set_end_hpr() is called, the node’s rotation will not be affected by 
- the lerp. 
- The given quaternion needs to be normalized. 
 - */ 
 
 - setEndScale()
- C++ Interface: set_end_scale(const CLerpNodePathInterval self, const LVecBase3f scale) set_end_scale(const CLerpNodePathInterval self, float scale) - /**
- Indicates that the scale of the node should be lerped, and specifies the 
- final scale of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s scale will not be affected by the lerp. 
 - */ 
- /**
- Indicates that the scale of the node should be lerped, and specifies the 
- final scale of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s scale will not be affected by the lerp. 
 - */ 
 
 - setEndShear()
- C++ Interface: set_end_shear(const CLerpNodePathInterval self, const LVecBase3f shear) - /**
- Indicates that the shear of the node should be lerped, and specifies the 
- final shear of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s shear will not be affected by the lerp. 
 - */ 
 
 - setEndTexOffset()
- C++ Interface: set_end_tex_offset(const CLerpNodePathInterval self, const LVecBase2f tex_offset) - /**
- Indicates that the UV offset of the node should be lerped, and specifies 
- the final UV offset of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s UV offset will not be 
- affected by the lerp. 
 - */ 
 
 - setEndTexRotate()
- C++ Interface: set_end_tex_rotate(const CLerpNodePathInterval self, float tex_rotate) - /**
- Indicates that the UV rotate of the node should be lerped, and specifies 
- the final UV rotate of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s UV rotate will not be 
- affected by the lerp. 
 - */ 
 
 - setEndTexScale()
- C++ Interface: set_end_tex_scale(const CLerpNodePathInterval self, const LVecBase2f tex_scale) - /**
- Indicates that the UV scale of the node should be lerped, and specifies the 
- final UV scale of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s UV scale will not be 
- affected by the lerp. 
 - */ 
 
 - setOverride()
- C++ Interface: set_override(const CLerpNodePathInterval self, int override) - /**
- Changes the override value that will be associated with any state changes 
- applied by the lerp. If this lerp is changing state (for instance, a color 
- lerp or a tex matrix lerp), then the new attributes created by this lerp 
- will be assigned the indicated override value when they are applied to the 
- node. 
 - */ 
 
 - setStartColor()
- C++ Interface: set_start_color(const CLerpNodePathInterval self, const LVecBase4f color) - /**
- Indicates the initial color of the lerped node. This is meaningful only if 
- set_end_color() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual color at the 
- time the lerp is performed. 
 - */ 
 
 - setStartColorScale()
- C++ Interface: set_start_color_scale(const CLerpNodePathInterval self, const LVecBase4f color_scale) - /**
- Indicates the initial color scale of the lerped node. This is meaningful 
- only if set_end_color_scale() is also called. This parameter is optional; 
- if unspecified, the value will be taken from the node’s actual color scale 
- at the time the lerp is performed. 
 - */ 
 
 - setStartHpr()
- C++ Interface: set_start_hpr(const CLerpNodePathInterval self, const LVecBase3f hpr) - /**
- Indicates the initial rotation of the lerped node. This is meaningful only 
- if either set_end_hpr() or set_end_quat() is also called. This parameter 
- is optional; if unspecified, the value will be taken from the node’s actual 
- rotation at the time the lerp is performed. 
 - */ 
 
 - setStartPos()
- C++ Interface: set_start_pos(const CLerpNodePathInterval self, const LVecBase3f pos) - /**
- Indicates the initial position of the lerped node. This is meaningful only 
- if set_end_pos() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual position at the 
- time the lerp is performed. 
 - */ 
 
 - setStartQuat()
- C++ Interface: set_start_quat(const CLerpNodePathInterval self, const LQuaternionf quat) - /**
- Indicates the initial rotation of the lerped node. This is meaningful only 
- if either set_end_quat() or set_end_hpr() is also called. This parameter 
- is optional; if unspecified, the value will be taken from the node’s actual 
- rotation at the time the lerp is performed. 
- The given quaternion needs to be normalized. 
 - */ 
 
 - setStartScale()
- C++ Interface: set_start_scale(const CLerpNodePathInterval self, const LVecBase3f scale) set_start_scale(const CLerpNodePathInterval self, float scale) - /**
- Indicates the initial scale of the lerped node. This is meaningful only if 
- set_end_scale() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual scale at the 
- time the lerp is performed. 
 - */ 
- /**
- Indicates the initial scale of the lerped node. This is meaningful only if 
- set_end_scale() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual scale at the 
- time the lerp is performed. 
 - */ 
 
 - setStartShear()
- C++ Interface: set_start_shear(const CLerpNodePathInterval self, const LVecBase3f shear) - /**
- Indicates the initial shear of the lerped node. This is meaningful only if 
- set_end_shear() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual shear at the 
- time the lerp is performed. 
 - */ 
 
 - setStartTexOffset()
- C++ Interface: set_start_tex_offset(const CLerpNodePathInterval self, const LVecBase2f tex_offset) - /**
- Indicates the initial UV offset of the lerped node. This is meaningful 
- only if set_end_tex_offset() is also called. This parameter is optional; 
- if unspecified, the value will be taken from the node’s actual UV offset at 
- the time the lerp is performed. 
 - */ 
 
 - setStartTexRotate()
- C++ Interface: set_start_tex_rotate(const CLerpNodePathInterval self, float tex_rotate) - /**
- Indicates the initial UV rotate of the lerped node. This is meaningful 
- only if set_end_tex_rotate() is also called. This parameter is optional; 
- if unspecified, the value will be taken from the node’s actual UV rotate at 
- the time the lerp is performed. 
 - */ 
 
 - setStartTexScale()
- C++ Interface: set_start_tex_scale(const CLerpNodePathInterval self, const LVecBase2f tex_scale) - /**
- Indicates the initial UV scale of the lerped node. This is meaningful only 
- if set_end_tex_scale() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual UV scale at the 
- time the lerp is performed. 
 - */ 
 
 - setTextureStage()
- C++ Interface: set_texture_stage(const CLerpNodePathInterval self, TextureStage stage) - /**
- Indicates the texture stage that is adjusted by tex_offset, tex_rotate, 
- and/or tex_scale. If this is not set, the default is the default texture 
- stage. 
 - */ 
 
 - set_end_color()
- C++ Interface: set_end_color(const CLerpNodePathInterval self, const LVecBase4f color) - /**
- Indicates that the color of the node should be lerped, and specifies the 
- final color of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s color will not be affected by the lerp. 
 - */ 
 
 - set_end_color_scale()
- C++ Interface: set_end_color_scale(const CLerpNodePathInterval self, const LVecBase4f color_scale) - /**
- Indicates that the color scale of the node should be lerped, and specifies 
- the final color scale of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s color scale will not 
- be affected by the lerp. 
 - */ 
 
 - set_end_hpr()
- C++ Interface: set_end_hpr(const CLerpNodePathInterval self, const LQuaternionf quat) set_end_hpr(const CLerpNodePathInterval self, const LVecBase3f hpr) - /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This replaces a previous call to set_end_quat(). If neither set_end_hpr() 
- nor set_end_quat() is called, the node’s rotation will not be affected by 
- the lerp. 
 - */ 
- /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This special function is overloaded to accept a quaternion, even though the 
- function name is set_end_hpr(). The quaternion will be implicitly 
- converted to a HPR trio, and the lerp will be performed in HPR space, 
- componentwise. 
 - */ 
 
 - set_end_pos()
- C++ Interface: set_end_pos(const CLerpNodePathInterval self, const LVecBase3f pos) - /**
- Indicates that the position of the node should be lerped, and specifies the 
- final position of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s position will not be 
- affected by the lerp. 
 - */ 
 
 - set_end_quat()
- C++ Interface: set_end_quat(const CLerpNodePathInterval self, const LQuaternionf quat) set_end_quat(const CLerpNodePathInterval self, const LVecBase3f hpr) - /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This replaces a previous call to set_end_hpr(). If neither set_end_quat() 
- nor set_end_hpr() is called, the node’s rotation will not be affected by 
- the lerp. 
- This special function is overloaded to accept a HPR trio, even though the 
- function name is set_end_quat(). The HPR will be implicitly converted to a 
- quaternion, and the lerp will be performed in quaternion space, as a 
- spherical lerp. 
 - */ 
- /**
- Indicates that the rotation of the node should be lerped, and specifies the 
- final rotation of the node. This should be called before 
- priv_initialize(). 
- This replaces a previous call to set_end_hpr(). If neither set_end_quat() 
- nor set_end_hpr() is called, the node’s rotation will not be affected by 
- the lerp. 
- The given quaternion needs to be normalized. 
 - */ 
 
 - set_end_scale()
- C++ Interface: set_end_scale(const CLerpNodePathInterval self, const LVecBase3f scale) set_end_scale(const CLerpNodePathInterval self, float scale) - /**
- Indicates that the scale of the node should be lerped, and specifies the 
- final scale of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s scale will not be affected by the lerp. 
 - */ 
- /**
- Indicates that the scale of the node should be lerped, and specifies the 
- final scale of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s scale will not be affected by the lerp. 
 - */ 
 
 - set_end_shear()
- C++ Interface: set_end_shear(const CLerpNodePathInterval self, const LVecBase3f shear) - /**
- Indicates that the shear of the node should be lerped, and specifies the 
- final shear of the node. This should be called before priv_initialize(). 
- If this is not called, the node’s shear will not be affected by the lerp. 
 - */ 
 
 - set_end_tex_offset()
- C++ Interface: set_end_tex_offset(const CLerpNodePathInterval self, const LVecBase2f tex_offset) - /**
- Indicates that the UV offset of the node should be lerped, and specifies 
- the final UV offset of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s UV offset will not be 
- affected by the lerp. 
 - */ 
 
 - set_end_tex_rotate()
- C++ Interface: set_end_tex_rotate(const CLerpNodePathInterval self, float tex_rotate) - /**
- Indicates that the UV rotate of the node should be lerped, and specifies 
- the final UV rotate of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s UV rotate will not be 
- affected by the lerp. 
 - */ 
 
 - set_end_tex_scale()
- C++ Interface: set_end_tex_scale(const CLerpNodePathInterval self, const LVecBase2f tex_scale) - /**
- Indicates that the UV scale of the node should be lerped, and specifies the 
- final UV scale of the node. This should be called before 
- priv_initialize(). If this is not called, the node’s UV scale will not be 
- affected by the lerp. 
 - */ 
 
 - set_override()
- C++ Interface: set_override(const CLerpNodePathInterval self, int override) - /**
- Changes the override value that will be associated with any state changes 
- applied by the lerp. If this lerp is changing state (for instance, a color 
- lerp or a tex matrix lerp), then the new attributes created by this lerp 
- will be assigned the indicated override value when they are applied to the 
- node. 
 - */ 
 
 - set_start_color()
- C++ Interface: set_start_color(const CLerpNodePathInterval self, const LVecBase4f color) - /**
- Indicates the initial color of the lerped node. This is meaningful only if 
- set_end_color() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual color at the 
- time the lerp is performed. 
 - */ 
 
 - set_start_color_scale()
- C++ Interface: set_start_color_scale(const CLerpNodePathInterval self, const LVecBase4f color_scale) - /**
- Indicates the initial color scale of the lerped node. This is meaningful 
- only if set_end_color_scale() is also called. This parameter is optional; 
- if unspecified, the value will be taken from the node’s actual color scale 
- at the time the lerp is performed. 
 - */ 
 
 - set_start_hpr()
- C++ Interface: set_start_hpr(const CLerpNodePathInterval self, const LVecBase3f hpr) - /**
- Indicates the initial rotation of the lerped node. This is meaningful only 
- if either set_end_hpr() or set_end_quat() is also called. This parameter 
- is optional; if unspecified, the value will be taken from the node’s actual 
- rotation at the time the lerp is performed. 
 - */ 
 
 - set_start_pos()
- C++ Interface: set_start_pos(const CLerpNodePathInterval self, const LVecBase3f pos) - /**
- Indicates the initial position of the lerped node. This is meaningful only 
- if set_end_pos() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual position at the 
- time the lerp is performed. 
 - */ 
 
 - set_start_quat()
- C++ Interface: set_start_quat(const CLerpNodePathInterval self, const LQuaternionf quat) - /**
- Indicates the initial rotation of the lerped node. This is meaningful only 
- if either set_end_quat() or set_end_hpr() is also called. This parameter 
- is optional; if unspecified, the value will be taken from the node’s actual 
- rotation at the time the lerp is performed. 
- The given quaternion needs to be normalized. 
 - */ 
 
 - set_start_scale()
- C++ Interface: set_start_scale(const CLerpNodePathInterval self, const LVecBase3f scale) set_start_scale(const CLerpNodePathInterval self, float scale) - /**
- Indicates the initial scale of the lerped node. This is meaningful only if 
- set_end_scale() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual scale at the 
- time the lerp is performed. 
 - */ 
- /**
- Indicates the initial scale of the lerped node. This is meaningful only if 
- set_end_scale() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual scale at the 
- time the lerp is performed. 
 - */ 
 
 - set_start_shear()
- C++ Interface: set_start_shear(const CLerpNodePathInterval self, const LVecBase3f shear) - /**
- Indicates the initial shear of the lerped node. This is meaningful only if 
- set_end_shear() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual shear at the 
- time the lerp is performed. 
 - */ 
 
 - set_start_tex_offset()
- C++ Interface: set_start_tex_offset(const CLerpNodePathInterval self, const LVecBase2f tex_offset) - /**
- Indicates the initial UV offset of the lerped node. This is meaningful 
- only if set_end_tex_offset() is also called. This parameter is optional; 
- if unspecified, the value will be taken from the node’s actual UV offset at 
- the time the lerp is performed. 
 - */ 
 
 - set_start_tex_rotate()
- C++ Interface: set_start_tex_rotate(const CLerpNodePathInterval self, float tex_rotate) - /**
- Indicates the initial UV rotate of the lerped node. This is meaningful 
- only if set_end_tex_rotate() is also called. This parameter is optional; 
- if unspecified, the value will be taken from the node’s actual UV rotate at 
- the time the lerp is performed. 
 - */ 
 
 - set_start_tex_scale()
- C++ Interface: set_start_tex_scale(const CLerpNodePathInterval self, const LVecBase2f tex_scale) - /**
- Indicates the initial UV scale of the lerped node. This is meaningful only 
- if set_end_tex_scale() is also called. This parameter is optional; if 
- unspecified, the value will be taken from the node’s actual UV scale at the 
- time the lerp is performed. 
 - */ 
 
 
