AudioListener
사용되지 않는 항목 표시
AudioListener records an audio stream from its surrounding AudioEmitters in the 3D world. It provides a single Output pin which can be connected to other pins via Wires. If the parent is an Attachment, Camera, or PVInstance, the parent's world CFrame will be used for listening. If the parent is not one of these classes, the AudioListener effectively hears nothing.
코드 샘플
Camera Listener
local listener = Instance.new("AudioListener")
local output = Instance.new("AudioDeviceOutput")
local wire = Instance.new("Wire")
listener.Parent = workspace.Camera
wire.Parent = listener
output.Parent = wire
wire.SourceInstance = listener
wire.TargetInstance = output
속성
AudioInteractionGroup
Controls which AudioEmitters are audible to this AudioListener. Emitters that share an interaction group can be heard by this Listener.
DistanceAttenuation
BinaryString