====== matrix ====== **Category**: Data structure ===== Functions ===== ---- ==== setIdentity ==== ''void **matrix.setIdentity**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== setTranslation ==== ''void **matrix.setTranslation**(//object//, //translation//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''translation''// | ''[[:api:vec3f|vec3f]]'' | | ''void **matrix.setTranslation**(//object//, //x//, //y//, //z//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''x''// | ''[[:data-types#float|float]]'' | | | //''y''// | ''[[:data-types#float|float]]'' | | | //''z''// | ''[[:data-types#float|float]]'' | | ---- ==== translate ==== ''void **matrix.translate**(//object//, //translation//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''translation''// | ''[[:api:vec3f|vec3f]]'' | | ''void **matrix.translate**(//object//, //x//, //y//, //z//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''x''// | ''[[:data-types#float|float]]'' | | | //''y''// | ''[[:data-types#float|float]]'' | | | //''z''// | ''[[:data-types#float|float]]'' | | ---- ==== getTranslation ==== ''[[:api:vec3f|vec3f]] **matrix.getTranslation**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== getScale ==== ''[[:api:vec3f|vec3f]] **matrix.getScale**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== setScale ==== ''void **matrix.setScale**(//object//, //x//, //y//, //z//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''x''// | ''[[:data-types#float|float]]'' | | | //''y''// | ''[[:data-types#float|float]]'' | | | //''z''// | ''[[:data-types#float|float]]'' | | ''void **matrix.setScale**(//object//, //scale//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''scale''// | ''[[:api:vec3f|vec3f]]'' | | ---- ==== setRotation ==== ''void **matrix.setRotation**(//object//, //quaternion//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''quaternion''// | ''[[:api:quaternion|quaternion]]'' | | ---- ==== det ==== ''[[:data-types#float|float]] **matrix.det**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== detUniform ==== ''[[:data-types#float|float]] **matrix.detUniform**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== inverse ==== ''[[:api:matrix|matrix]] **matrix.inverse**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== inverseUniform ==== ''[[:api:matrix|matrix]] **matrix.inverseUniform**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== getTransform ==== ''void **matrix.getTransform**(//object//, //outTranslation//, //outOrientation//, //outScale//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''outTranslation''// | ''[[:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// | | //''outOrientation''// | ''[[:api:quaternion|quaternion]]'' | //[[:annotations#out_argument|Out argument]]// | | //''outScale''// | ''[[:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// | ---- ==== transpose ==== ''[[:api:matrix|matrix]] **matrix.transpose**(//object//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | ---- ==== transformPoint ==== ''[[:api:vec3f|vec3f]] **matrix.transformPoint**(//object//, //v//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''v''// | ''[[:api:vec3f|vec3f]]'' | | ''[[:api:vec3f|vec3f]] **matrix.transformPoint**(//object//, //v//, //outW//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''v''// | ''[[:api:vec3f|vec3f]]'' | | | //''outW''// | ''[[:data-types#float|float]]'' | //[[:annotations#out_argument|Out argument]]// | ---- ==== transformVector ==== ''[[:api:vec3f|vec3f]] **matrix.transformVector**(//object//, //v//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''v''// | ''[[:api:vec3f|vec3f]]'' | | ''[[:api:vec3f|vec3f]] **matrix.transformVector**(//object//, //v//, //outW//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''v''// | ''[[:api:vec3f|vec3f]]'' | | | //''outW''// | ''[[:data-types#float|float]]'' | //[[:annotations#out_argument|Out argument]]// | ---- ==== isIdentity ==== ''[[:data-types#boolean|boolean]] **matrix.isIdentity**(//object//, //epsilon//)'' ^ Name ^ Type ^ Description ^ | //''object''// | ''matrix'' | | | //''epsilon''// | ''[[:data-types#float|float]]'' | |