Class: X3DFollowerNode

X3D: 3.3
Component: Followers
Status:
experimental

x3dom.nodeTypes. X3DFollowerNode

An X3DFollowerNode maintains an internal state that consists of a current value and a destination value. Both values are of the same data type into which the term [S|M]F evaluatesfor a given specialization. It is the 'data type of the node'. In certain cases of usage, the terms input and output fit better for destination value and current value, respectively. Whenever the current value differs from the destination value, the current value gradually changes until it reaches the destination value producing a smooth transition. It generally moves towards the destination value but, if a transition triggered by a prevous destination value is still in progress, it may take a short while until the movement becomes a movement towards the new destination value.

HTML Encoding and Default Values

<X3DFollowerNode isActive='false' metadata='X3DMetadataObject' ></X3DFollowerNode>

Inheritance


Constructor

X3DFollowerNode(ctx)

Constructor for X3DFollowerNode

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
isActive SFBool false isActive shows if the sensor is active
metadata SFNode X3DMetadataObject X3DChildNode Field to add metadata information