Show / Hide Table of Contents

Class Node

Class of Node element of VotanicXR.
VotanicXR 的節點元素類別。

Inheritance
System.Object
Element
Node
Camera
Entity
Screen
Inherited Members
Element.name
Element.Equals(String, Boolean)
Element.Contains(String, Boolean, Boolean)
Namespace: Votanic.vXR.vCast.Core
Assembly: Votanic.vXR.dll
Syntax
public class Node : Element

Constructors

Node(String, Transform, GameObject)

Declare the Node.
宣告節點。

Declaration
public Node(string name, Transform parent, GameObject gameObject)
Parameters
Type Name Description
System.String name

Node name
節點名稱

UnityEngine.Transform parent

Parent of Node
節點的母物件

UnityEngine.GameObject gameObject

GameObject of Node
節點的 GameObject

Node(String, Transform, Transform)

Declare the Node.
宣告節點。

Declaration
public Node(string name, Transform parent, Transform transform)
Parameters
Type Name Description
System.String name

Node name
節點名稱

UnityEngine.Transform parent

Parent of Node
節點的母物件

UnityEngine.Transform transform

Transform of Node
節點的 Transform

Properties

defaultEulerAngles

Default euler angles.
預設角度。

Declaration
public Vector3 defaultEulerAngles { get; protected set; }
Property Value
Type Description
UnityEngine.Vector3

defaultPosition

Default position.
預設位置。

Declaration
public Vector3 defaultPosition { get; protected set; }
Property Value
Type Description
UnityEngine.Vector3

gameObject

GameObject of Node.
節點的 GameObject。

Declaration
public GameObject gameObject { get; protected set; }
Property Value
Type Description
UnityEngine.GameObject

parent

Parent of Node.
節點的母物件。

Declaration
public Transform parent { get; protected set; }
Property Value
Type Description
UnityEngine.Transform

transform

Transform of Node.
節點的 Transform。

Declaration
public Transform transform { get; protected set; }
Property Value
Type Description
UnityEngine.Transform

Methods

SetParent(String)

Set an object as the parent of entity.
設定實體的母物件。

SetParent("Parent")

Declaration
public void SetParent(string parent)
Parameters
Type Name Description
System.String parent

Name of parent
母體名稱

SetParent(Transform)

Set an object as the parent of entity.
設定實體的母物件。

SetParent(transform)

Declaration
public void SetParent(Transform parent)
Parameters
Type Name Description
UnityEngine.Transform parent

Transform of parent
母體的 Transform

In This Article
Back to top Generated by DocFX