llSetLinkCamera
function ll.SetLinkCamera(LinkNumber: number, EyeOffset: vector, LookOffset: vector)Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.
Parameters
LinkNumber(number)- Prim link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
EyeOffset(vector)- Offset, relative to the object's centre and expressed in local coordinates, that the camera looks from.
LookOffset(vector)- Offset, relative to the object's centre and expressed in local coordinates, that the camera looks toward.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetLinkCamera().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetLinkCamera