Class TofArTransform
シリアライズ可能なTransform
Inheritance
System.Object
TofArTransform
Namespace: TofAr.V0
Assembly: TofArAssembly.dll
Syntax
[MessagePackObject(false)]
public class TofArTransform
Constructors
TofArTransform()
コンストラクタ
Declaration
public TofArTransform()
TofArTransform(TofArVector3, TofArQuaternion, TofArVector3)
コンストラクタ
Declaration
public TofArTransform(TofArVector3 position, TofArQuaternion rotation, TofArVector3 scale)
Parameters
Type | Name | Description |
---|---|---|
TofArVector3 | position | |
TofArQuaternion | rotation | |
TofArVector3 | scale |
TofArTransform(Transform)
コンストラクタ
Declaration
public TofArTransform(Transform transform)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | transform |
Fields
forward
forward値
Declaration
[Key("forward")]
public TofArVector3 forward
Field Value
Type |
---|
TofArVector3 |
position
position値
Declaration
[Key("position")]
public TofArVector3 position
Field Value
Type |
---|
TofArVector3 |
right
right値
Declaration
[Key("right")]
public TofArVector3 right
Field Value
Type |
---|
TofArVector3 |
rotation
rotation値
Declaration
[Key("rotation")]
public TofArQuaternion rotation
Field Value
Type |
---|
TofArQuaternion |
scale
scale値
Declaration
[Key("scale")]
public TofArVector3 scale
Field Value
Type |
---|
TofArVector3 |
up
up値
Declaration
[Key("up")]
public TofArVector3 up
Field Value
Type |
---|
TofArVector3 |
Methods
Equals(Object)
比較
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other | 比較するオブジェクト |
Returns
Type | Description |
---|---|
System.Boolean | trueの場合, 等しい |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
ハッシュコードを取得する
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | ハッシュコード |
Overrides
System.Object.GetHashCode()
Operators
Implicit(Transform to TofArTransform)
UnityEngine.TransformをTofArTransformへ変換する
Declaration
public static implicit operator TofArTransform(Transform t)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | t |
Returns
Type | Description |
---|---|
TofArTransform |