Class: HAnimDisplacer

X3D: 3.3
Component: H-Anim
Status:
fully implemented

.nodeTypes. HAnimDisplacer

In some cases, the application may need to be able to identify specific groups of vertices within an HAnimSegment. It may also require "hints" as to the direction in which each vertex should move. That information is stored in a node called an HAnimDisplacer. The HAnimDisplacers for a particular HAnimSegment are stored in the displacers field of that HAnimSegment.

HTML Encoding and Default Values

<HAnimDisplacer coordIndex='[]' displacements='[]' metadata='X3DMetadataObject' name='""' weight='0' ></HAnimDisplacer>

Inheritance


Constructor

HAnimDisplacer(ctx)

Constructor for HAnimDisplacer

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
coordIndex MFInt32 []
displacements MFVec3f []
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
name SFString ""
weight SFFloat 0