body:get-transform
List of: Scheme Extensions
Subjects: Entity, Transforms
Contents: Kernel

Action: Returns the transform attached to a body.

Filename: kern/kern_scm/ent_scm.cxx

Syntax: (body:get-transform body)

Arg Types: body body

Returns: transform | boolean

Description: If there isn't a transform the command will return a #f.


body specifies the body whose transformation has to be returned.

Example: ; body:get-transform

; Define and body and get the transform

; attached to it.

(define b


(solid:block


(position 0 0 0)


(position 10 10 10)))

;; b

(body:get-transform b)

;; #[transform 761912]
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0021.HTM