Ctrl+K

PositionType

Declaration

public sealed enum Strawberry.Components.PositionType

Specifies the coordinate space used to determine the position of a transform.

Members

Name Value Description
RelativeToParent 0 The position is relative to the parent entity's transform.
Global 1 The position is in global (world) coordinates.

Fields

RelativeToParent static

The position is relative to the parent entity's transform.

PositionType RelativeToParent = 0

Global static

The position is in global (world) coordinates.

PositionType Global = 1