Class SerializableComponentData
Base class for the data of components that implement VRSketchingGeometry.Serialization.ISerializableComponent.
Inheritance
System.Object
SerializableComponentData
Assembly: VRSketchingGeometry.dll
Syntax
public abstract class SerializableComponentData
Fields
Position
Declaration
Field Value
| Type |
Description |
| UnityEngine.Vector3 |
|
Rotation
Declaration
public Quaternion Rotation
Field Value
| Type |
Description |
| UnityEngine.Quaternion |
|
Scale
Declaration
Field Value
| Type |
Description |
| UnityEngine.Vector3 |
|
Methods
Applies the transform data in the data object to a transform object of a game object.
Declaration
public void ApplyDataToTransform(Transform transform)
Parameters
| Type |
Name |
Description |
| UnityEngine.Transform |
transform |
|
Assign the transform values from a transform object to a data object.
Declaration
public void SetDataFromTransform(Transform transform)
Parameters
| Type |
Name |
Description |
| UnityEngine.Transform |
transform |
|