Preparing search index...
The search index is not available
SDK Documentation - v7.0.0
SDK Documentation - v7.0.0
Math & Colors
Quaternion
fromLookAtToRef
Function fromLookAtToRef
from
Look
At
To
Ref
(
position
:
ReadonlyVector3
, target
:
ReadonlyVector3
, worldUp
:
undefined
|
ReadonlyVector3
, result
:
MutableQuaternion
)
:
void
Rotates the transform so the forward vector points at target's current position.
Parameters
position:
ReadonlyVector3
target:
ReadonlyVector3
worldUp:
undefined
|
ReadonlyVector3
result:
MutableQuaternion
Returns
void
Documentation
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
SDK
Documentation -
v7.0.0
ECS
Append
Value
Operation
Avatar
Texture
Border
Rect
Camera
Transition
Component
Data
Composite
Composite
Component
Composite
Component_
Data
Entry
Composite
Definition
Crdt
Message
Protocol
Delete
Component
Delete
Component
Network
Delete
Entity
Delete
Entity
Network
Entity
Utils
Move
PBAnimation
State
PBAnimator
PBAudio
Event
PBAudio
Source
PBAudio
Stream
PBAvatar
Attach
PBAvatar
Base
PBAvatar
Emote
Command
PBAvatar
Equipped
Data
PBAvatar
Modifier
Area
PBAvatar
Shape
PBBillboard
PBCamera
Mode
PBCamera
Mode
Area
PBColor3
PBColor4
PBEngine
Info
PBGltf
Container
PBGltf
Container
Loading
State
PBInput
Modifier
PBInput
Modifier_
Standard
Input
PBMain
Camera
PBMaterial
PBMaterial_
Pbr
Material
PBMaterial_
Unlit
Material
PBMesh
Collider
PBMesh
Collider_
Box
Mesh
PBMesh
Collider_
Cylinder
Mesh
PBMesh
Collider_
Plane
Mesh
PBMesh
Collider_
Sphere
Mesh
PBMesh
Renderer
PBMesh
Renderer_
Box
Mesh
PBMesh
Renderer_
Cylinder
Mesh
PBMesh
Renderer_
Plane
Mesh
PBMesh
Renderer_
Sphere
Mesh
PBNft
Shape
PBPlayer
Identity
Data
PBPointer
Events
PBPointer
Events
Result
PBPointer
Events_
Entry
PBPointer
Events_
Info
PBPointer
Lock
PBPosition
PBQuaternion
PBRaycast
PBRaycast
Result
PBRealm
Info
PBText
Shape
PBTween
PBTween
Sequence
PBTween
State
PBUi
Background
PBUi
Canvas
Information
PBUi
Dropdown
PBUi
Dropdown
Result
PBUi
Input
PBUi
Input
Result
PBUi
Text
PBUi
Transform
PBVector2
PBVector3
PBVideo
Event
PBVideo
Player
PBVirtual
Camera
PBVisibility
Component
Put
Component
Operation
Put
Network
Component
Operation
Raycast
Hit
Rect
Rotate
Scale
Schemas
Texture
Texture
Union
Video
Texture
Etherum
Provider
Math &
Colors
Color3
Color4
Matrix
Plane
Quaternion
Scalar
Vector3
React
Ecs
React
Ecs
JSX
js-
runtime/apis
"~system/
Comms
Api"
"~system/
Communications
Controller"
"~system/
Engine
Api"
"~system/
Environment
Api"
"~system/
Ethereum
Controller"
"~system/
Players"
"~system/
Portable
Experiences"
"~system/
Restricted
Actions"
"~system/
Runtime"
"~system/
Scene"
"~system/
Signed
Fetch"
"~system/
Testing"
"~system/
User
Action
Module"
"~system/
User
Identity"
sdk/src/composite-
provider
sdk/src/ethereum-
provider/text-
encoder
sdk/src/ethereum-
provider/text-
encoding
sdk/src/network
sdk/src/network/binary-
message-
bus
sdk/src/network/entities
sdk/src/network/filter
sdk/src/network/message-
bus-
sync
sdk/src/network/state
sdk/src/network/utils
sdk/src/players
Identity
Zero
add
angle
create
dot
from
Angle
Axis
from
Axis
To
Rotation
Quaternion
from
Axis
To
Rotation
Quaternion
To
Ref
from
Euler
Degrees
from
Look
At
from
Look
At
To
Ref
from
Rotation
Matrix
To
Ref
from
Rotation
Yaw
Pitch
Roll
from
Rotation
Yaw
Pitch
Roll
To
Ref
from
To
Rotation
length
length
Squared
look
Rotation
multiply
multiply
To
Ref
normalize
rotate
Towards
slerp
slerp
To
Ref
to
Euler
Angles
Mutable
Mutable
Quaternion
Readonly
Quaternion
Rotates the transform so the forward vector points at target's current position.