komodo/ecs/components/transform_component

Types

TransformComponent = ref TransformComponentObj
  Source Edit

Procs

proc newTransformComponent(parent: Entity; position: Vector3; rotation: Vector3;
                           scale: Vector3): TransformComponent {...}{.raises: [],
    tags: [TimeEffect].}
  Source Edit

Funcs

func position(self: TransformComponent): auto {...}{.raises: [], tags: [].}
  Source Edit
func position=(self: TransformComponent; value: Vector3) {...}{.raises: [], tags: [].}
  Source Edit
func rotation(self: TransformComponent): auto {...}{.raises: [], tags: [].}
  Source Edit
func rotation=(self: TransformComponent; value: Vector3) {...}{.raises: [], tags: [].}
  Source Edit
func scale(self: TransformComponent): auto {...}{.raises: [], tags: [].}
  Source Edit
func scale=(self: TransformComponent; value: Vector3) {...}{.raises: [], tags: [].}
  Source Edit

Methods

method initialize(self: TransformComponent) {...}{.locks: "unknown", raises: [],
    tags: [].}
  Source Edit