SetElementMatrix: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Fernando187 (talk | contribs) (Remove obsolete Requirements section) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Shared function}} | ||
{{Needs_Example}} | {{Needs_Example}} | ||
__NOTOC__ | __NOTOC__ | ||
Line 8: | Line 8: | ||
bool setElementMatrix ( element theElement, table theMatrix ) | bool setElementMatrix ( element theElement, table theMatrix ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[element]]:setMatrix|matrix|getElementMatrix}} | |||
===Required Arguments=== | ===Required Arguments=== | ||
Line 21: | Line 22: | ||
--TODO | --TODO | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{Client_element_functions}} | {{Client_element_functions}} |
Latest revision as of 17:08, 7 November 2024
Script Example Missing Function SetElementMatrix needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function sets matrix to element.
Syntax
bool setElementMatrix ( element theElement, table theMatrix )
OOP Syntax Help! I don't understand this!
- Method: element:setMatrix(...)
- Variable: .matrix
- Counterpart: getElementMatrix
Required Arguments
- theElement: The element which you set matrix
- theMatrix: The matrix.
Returns
Returns true if the matrix was set succesfully, false otherwise.
Example
TODO
--TODO
See Also
- getElementBoneMatrix
- getElementBonePosition
- getElementBoneRotation
- getElementBoundingBox
- getElementDistanceFromCentreOfMassToBaseOfModel
- getElementLighting
- getElementRadius
- isElementCollidableWith
- isElementLocal
- isElementOnScreen
- isElementStreamable
- isElementStreamedIn
- isElementSyncer
- isElementWaitingForGroundToLoad
- setElementBoneMatrix
- setElementBonePosition
- setElementBoneRotation
- setElementCollidableWith
- setElementStreamable
- updateElementRpHAnim
- Shared
- attachElements
- createElement
- destroyElement
- detachElements
- getAttachedElements
- getElementAlpha
- getElementAttachedOffsets
- getElementAttachedTo
- getElementByIndex
- getElementByID
- getElementChild
- getElementChildren
- getElementChildrenCount
- getElementCollisionsEnabled
- getElementColShape
- getElementData
- getAllElementData
- hasElementData
- getElementDimension
- getElementHealth
- getElementID
- getElementInterior
- getElementMatrix
- getElementModel
- getElementParent
- getElementPosition
- getElementRotation
- getElementsByType
- getElementsWithinColShape
- getElementsWithinRange
- getElementType
- getElementVelocity
- getLowLODElement
- getRootElement
- isElement
- isElementAttached
- isElementCallPropagationEnabled
- isElementDoubleSided
- isElementFrozen
- isElementInWater
- isElementLowLOD
- isElementWithinColShape
- isElementWithinMarker
- setElementAlpha
- setElementAngularVelocity
- getElementAngularVelocity
- setElementAttachedOffsets
- setElementCallPropagationEnabled
- setElementCollisionsEnabled
- setElementData
- setElementDimension
- setElementDoubleSided
- setElementFrozen
- setElementHealth
- setElementID
- setElementInterior
- setElementModel
- setElementParent
- setElementPosition
- setElementRotation
- setElementVelocity
- setLowLODElement
- getPedContactElement
- getResourceDynamicElementRoot
- getResourceRootElement