create Entity Source
Creates a new entity source.
Entity source is a proximity source attached to the specified entity.
Return
A new ServerEntitySource instance.
Parameters
The target entity.
Whether the source should be stereo (default is false).
Optional decoder information, default is OpusDecoderInfo.
Optional builder to change source info before it's added to the sources list and ServerSourceCreatedEvent is fired.
Throws
when trying to create an entity source for a player. Use createPlayerSource instead.
Creates a new entity source.
Entity source is a proximity source attached to the specified entity.
Return
A new ServerEntitySource instance.
Parameters
The target entity.
Whether the source should be stereo (default is false).
Optional decoder information, default is OpusDecoderInfo.
Throws
when trying to create an entity source for a player. Use createPlayerSource instead.
Creates a new entity source.
Entity source is a proximity source attached to the specified entity.
Return
A new ServerEntitySource instance.
Parameters
The target entity.
Whether the source should be stereo (default is false).
Throws
when trying to create an entity source for a player. Use createPlayerSource instead.