AnimChannelScalarDynamic¶
from acron.core import AnimChannelScalarDynamic
- class AnimChannelScalarDynamic¶
Bases:
Bases:
AnimChannel_ACScalarSwitchTypeAn animation channel that accepts a scalar each frame from some dynamic input provided by code.
This object operates in two modes: in explicit mode, the programmer should call
set_value()each frame to indicate the new value; in implicit mode, the programmer should callset_value_node()to indicate the node whose X component will be copied to the scalar each frame.Inheritance diagram
digraph inheritancee1300e5eff { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AnimChannelBase" [URL="acron.core.AnimChannelBase.html#acron.core.AnimChannelBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AnimGroup" -> "AnimChannelBase" [arrowsize=0.75,style=""]; "AnimChannelScalarDynamic" [URL="acron.core.AnimChannelScalarDynamic.html#acron.core.AnimChannelScalarDynamic",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AnimChannel_ACScalarSwitchType" -> "AnimChannelScalarDynamic" [arrowsize=0.75,style=""]; "AnimChannel_ACScalarSwitchType" [URL="acron.core.AnimChannel_ACScalarSwitchType.html#acron.core.AnimChannel_ACScalarSwitchType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "AnimChannelBase" -> "AnimChannel_ACScalarSwitchType" [arrowsize=0.75,style=""]; "AnimGroup" [URL="acron.core.AnimGroup.html#acron.core.AnimGroup",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "AnimGroup" [arrowsize=0.75,style=""]; "Namable" -> "AnimGroup" [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=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",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" -> "Namable" [arrowsize=0.75,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=""]; "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=""]; }- static get_class_type()¶
- set_value()¶
Explicitly sets the value. This will remove any node assigned via
set_value_node().
- set_value_node()¶
Specifies a node whose transform will be queried each frame to implicitly specify the transform of this joint. This will override the values set by
set_value().
- property value float¶
- Getter
Gets the value of the channel. This will return the value explicitly specified by
set_value()unless a value node was specified usingset_value_node().Gets the value of the channel at the indicated frame.
- Setter
Explicitly sets the value. This will remove any node assigned via
set_value_node().
- property value_node AcronNode¶
- Getter
Returns the node that was set via
set_value_node(), if any.- Setter
Specifies a node whose transform will be queried each frame to implicitly specify the transform of this joint. This will override the values set by
set_value().