Template:Element functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
(Add new bone functions)
Line 8: Line 8:
     <li>[[getElementBonePosition]]</li>
     <li>[[getElementBonePosition]]</li>
     <li>[[getElementBoneRotation]]</li>
     <li>[[getElementBoneRotation]]</li>
    <li>[[getElementBoneQuaternion]]</li>
     <li>[[getElementBoundingBox]]</li>
     <li>[[getElementBoundingBox]]</li>
     <li>[[getElementDistanceFromCentreOfMassToBaseOfModel]]</li>
     <li>[[getElementDistanceFromCentreOfMassToBaseOfModel]]</li>
Line 22: Line 23:
     <li>[[setElementBonePosition]]</li>
     <li>[[setElementBonePosition]]</li>
     <li>[[setElementBoneRotation]]</li>
     <li>[[setElementBoneRotation]]</li>
    <li>[[setElementBoneQuaternion]]</li>
     <li>[[setElementCollidableWith]]</li>
     <li>[[setElementCollidableWith]]</li>
     <li>[[setElementStreamable]]</li>
     <li>[[setElementStreamable]]</li>

Revision as of 01:20, 30 September 2024


The template contains a list of functions. It accepts 1 parameter, which specifies whether the functions should be displayed for server or client. Regardless of the parameter, a list of shared functions will also be displayed

Example: {{Camera functions|client}} will display a list of client-side functions, and below it a list of shared functions, similarly for the server.