Header menu logo Nu

Transform Type

Carries transformation data specific to an Entity.

Record fields

Record Field Description

Angles_

Full Usage: Angles_

Field type: Vector3
Modifiers: mutable
Field type: Vector3

Elevation_

Full Usage: Elevation_

Field type: single
Modifiers: mutable
Field type: single

Flags_

Full Usage: Flags_

Field type: uint
Modifiers: mutable
Field type: uint

Offset_

Full Usage: Offset_

Field type: Vector3
Modifiers: mutable
Field type: Vector3

Overflow_

Full Usage: Overflow_

Field type: single
Modifiers: mutable
Field type: single

Position_

Full Usage: Position_

Field type: Vector3
Modifiers: mutable
Field type: Vector3

PresenceOverride_

Full Usage: PresenceOverride_

Field type: Presence voption
Modifiers: mutable
Field type: Presence voption

Presence_

Full Usage: Presence_

Field type: Presence
Modifiers: mutable
Field type: Presence

RotationMatrixOpt_

Full Usage: RotationMatrixOpt_

Field type: Matrix4x4
Modifiers: mutable
Field type: Matrix4x4

Rotation_

Full Usage: Rotation_

Field type: Quaternion
Modifiers: mutable
Field type: Quaternion

Scale_

Full Usage: Scale_

Field type: Vector3
Modifiers: mutable
Field type: Vector3

Size_

Full Usage: Size_

Field type: Vector3
Modifiers: mutable
Field type: Vector3

Instance members

Instance member Description

this.Absolute

Full Usage: this.Absolute

this.Active

Full Usage: this.Active

this.AffineMatrix

Full Usage: this.AffineMatrix

Returns: Matrix4x4
Returns: Matrix4x4

this.AlwaysRender

Full Usage: this.AlwaysRender

this.AlwaysUpdate

Full Usage: this.AlwaysUpdate

this.Angles

Full Usage: this.Angles

this.AnglesDirty

Full Usage: this.AnglesDirty

this.Back

Full Usage: this.Back

Returns: Vector3
Returns: Vector3

this.Bounds2d

Full Usage: this.Bounds2d

Returns: Box3
Returns: Box3

this.Bounds3d

Full Usage: this.Bounds3d

Returns: Box3
Returns: Box3

this.CastShadow

Full Usage: this.CastShadow

this.Degrees

Full Usage: this.Degrees

this.Dirty

Full Usage: this.Dirty

this.Down

Full Usage: this.Down

Returns: Vector3
Returns: Vector3

this.Elevation

Full Usage: this.Elevation

this.Enabled

Full Usage: this.Enabled

this.EnabledLocal

Full Usage: this.EnabledLocal

this.Forward

Full Usage: this.Forward

Returns: Vector3
Returns: Vector3

this.Horizon

Full Usage: this.Horizon

Returns: float32
Returns: float32

this.HorizonUnscaled

Full Usage: this.HorizonUnscaled

Returns: float32
Returns: float32

this.Invalidated

Full Usage: this.Invalidated

this.Left

Full Usage: this.Left

Returns: Vector3
Returns: Vector3

this.Mounted

Full Usage: this.Mounted

this.Offset

Full Usage: this.Offset

this.Optimized

Full Usage: this.Optimized

Parameters:
    imperative : bool

Returns: bool
imperative : bool
Returns: bool

this.Overflow

Full Usage: this.Overflow

this.Perimeter

Full Usage: this.Perimeter

this.PerimeterBottom

Full Usage: this.PerimeterBottom

this.PerimeterBottomLeft

Full Usage: this.PerimeterBottomLeft

this.PerimeterCenter

Full Usage: this.PerimeterCenter

this.PerimeterMax

Full Usage: this.PerimeterMax

this.PerimeterMin

Full Usage: this.PerimeterMin

this.PerimeterPivot

Full Usage: this.PerimeterPivot

Returns: Vector3
Returns: Vector3

this.PerimeterUnscaled

Full Usage: this.PerimeterUnscaled

this.Persistent

Full Usage: this.Persistent

this.Pickable

Full Usage: this.Pickable

this.Position

Full Usage: this.Position

this.Presence

Full Usage: this.Presence

this.PresenceOverride

Full Usage: this.PresenceOverride

this.Protected

Full Usage: this.Protected

this.PublishChangeEvents

Full Usage: this.PublishChangeEvents

this.PublishUpdates

Full Usage: this.PublishUpdates

this.Right

Full Usage: this.Right

Returns: Vector3
Returns: Vector3

this.Rotation

Full Usage: this.Rotation

this.RotationMatrix

Full Usage: this.RotationMatrix

Returns: Matrix4x4
Returns: Matrix4x4

this.RotationMatrixDirty

Full Usage: this.RotationMatrixDirty

this.Scale

Full Usage: this.Scale

this.Size

Full Usage: this.Size

this.Static

Full Usage: this.Static

this.Up

Full Usage: this.Up

Returns: Vector3
Returns: Vector3

this.Visible

Full Usage: this.Visible

this.VisibleLocal

Full Usage: this.VisibleLocal

Static members

Static member Description

Transform.assign (source, target)

Full Usage: Transform.assign (source, target)

Parameters:
Modifiers: inline

Assign the value of the left transform to the right.

source : byref<Transform>
target : byref<Transform>

Transform.assignByRef (source, target)

Full Usage: Transform.assignByRef (source, target)

Parameters:

Assign the value of the left transform to the right.

source : inref<Transform>
target : byref<Transform>

Transform.cleanRotationMatrixInternal this

Full Usage: Transform.cleanRotationMatrixInternal this

Parameters:
this : byref<Transform>

Transform.equals left right

Full Usage: Transform.equals left right

Parameters:
Returns: bool
Modifiers: inline

Test transforms for equality.

left : Transform
right : Transform
Returns: bool

Transform.equalsByRef (left, right)

Full Usage: Transform.equalsByRef (left, right)

Parameters:
Returns: bool

Test transforms for equality.

left : inref<Transform>
right : inref<Transform>
Returns: bool

Transform.invalidateFastInternal this

Full Usage: Transform.invalidateFastInternal this

Parameters:
this : byref<Transform>

Transform.makeDefault ()

Full Usage: Transform.makeDefault ()

Returns: Transform

Make a transform with default values.

Returns: Transform

Transform.makeEmpty ()

Full Usage: Transform.makeEmpty ()

Returns: Transform
Modifiers: inline

Make an empty transform.

Returns: Transform

Transform.makeIntuitive absolute position scale offset size angles elevation

Full Usage: Transform.makeIntuitive absolute position scale offset size angles elevation

Parameters:
Returns: Transform

Make a transform based on human-intuitive values.

absolute : bool
position : Vector3
scale : Vector3
offset : Vector3
size : Vector3
angles : Vector3
elevation : single
Returns: Transform

Transform.makePerimeter absolute perimeter offset elevation

Full Usage: Transform.makePerimeter absolute perimeter offset elevation

Parameters:
    absolute : bool
    perimeter : Box3
    offset : Vector3
    elevation : single

Returns: Transform

Make a transform based on a perimeter.

absolute : bool
perimeter : Box3
offset : Vector3
elevation : single
Returns: Transform

Transform.snapPosition (positionSnap, transform)

Full Usage: Transform.snapPosition (positionSnap, transform)

Parameters:
    positionSnap : single
    transform : byref<Transform>

positionSnap : single
transform : byref<Transform>

Type something to start searching.