IC8 Python API:RLPy RAudio
From Reallusion Wiki!
Contents
Description
This class provides operations for loading audio to objects in the scene or generating empty audio objects. When an audio file is loaded onto an object, it will be deployed into the object's sound track. Only RIProp and RIAvatar are supported. See Also: RIAudioObject
Constructor & Destructor
__init__ (self)
Initializes a new audio instance.
Member Functions
CreateAudioObject ()
Create a new empty audio object.
LoadAudioToObject (*args)
Loads an audio file to an existing scene object and return the duration of the audio in seconds. Upon import failure, return 0 seconds. Currently, only wav and mp3 audio formats are supported.
Parameters
- args
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.