Class AnnotationNode
Controls the annotation data in the sceneMonoBehaviour.
[DisallowMultipleComponent]
public class AnnotationNode : MonoBehaviour
- Inheritance
-
AnnotationNode
Fields
Info
Annotation information.
public AnnotationNode.AnnotationNodeInfo Info
Field Value
Methods
Setup(GameObject, BlockController, AnnotationNodeInfo, LocalTransform)
Uses a GameObject to setAnnotationNode. The GameObject will be placed underBlockController based on the input transform.
public static AnnotationNode Setup(GameObject go, BlockController block, AnnotationNode.AnnotationNodeInfo info, LocalTransform transform)
Parameters
goblockinfotransform
Returns
Setup(GameObject, BlockRootController, AnnotationNodeInfo, LocalTransform, Location)
Uses a GameObject to setAnnotationNode. The GameObject will be placed underBlockRootController based on the input transform and location. Location must have a value.
public static AnnotationNode Setup(GameObject go, BlockRootController root, AnnotationNode.AnnotationNodeInfo info, LocalTransform transform, Location location)
Parameters
gorootinfotransformlocation