Skip to content

Ya3DSoundPositionData

Beta
Ya3DSoundPositionData is a struct that represents properties of a 3D sound.

Properties

YaEntity FollowTargetBeta
Indicates the target object that this 3D sound follows.
number BonePointBeta
Indicates the point that this sound follows. If you set it to 0, the sound follows the root position when the target entity is an avatar. If you set to 1, the sound follows the left hand. If you set to 2, the sound follows the right hand. If you set it to 4, the sound follows the head top of the avatar.
float3 PositionBeta
If the sound follows the target object, the position is local position. If not, the position is world position.
float3 RotationBeta
If the sound follows the target object, the rotation is local rotation. If not,the rotation is world rotation.