Class Transform
Implements visual representation of GameObject's transform. Lines are drawn from center of the object in each of the axes' direction.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Marus.Visualization.Primitives
Assembly: cs.temp.dll.dll
Syntax
public class Transform : VisualElement
Constructors
Transform(UnityEngine.Transform)
Constructor which initializes visual element with gameobject's transform reference.
Declaration
public Transform(UnityEngine.Transform transform)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | transform |
Fields
LengthScale
Declaration
public float LengthScale
Field Value
Type | Description |
---|---|
System.Single |
LineThickness
Declaration
public float LineThickness
Field Value
Type | Description |
---|---|
System.Single |
MyTransform
Declaration
public UnityEngine.Transform MyTransform
Field Value
Type | Description |
---|---|
UnityEngine.Transform |
Methods
Destroy()
Destroys and removes transform
Declaration
public override void Destroy()
Overrides
Draw()
Draws transform
Declaration
public override void Draw()
Overrides
SetParent(GameObject)
Declaration
public void SetParent(GameObject parent)
Parameters
Type | Name | Description |
---|---|---|
GameObject | parent |