Class AnnotationNode
Control annotation data in the scene for MonoBehaviour.
[DisallowMultipleComponent]
public class AnnotationNode : MonoBehaviour
- Inheritance
-
AnnotationNode
Fields
Info
Annotation information.
public AnnotationNode.AnnotationNodeInfo Info
Field Value
Methods
Setup(GameObject, BlockController, AnnotationNodeInfo, LocalTransform)
Use a GameObject to set up AnnotationNode. A GameObject will be placed under BlockController according to 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)
Use a GameObject to set up AnnotationNode. A GameObject will be placed under BlockRootController according to 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