public class bSound extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__attenuation
Field descriptor (offset) for struct member 'attenuation'.
|
static long[] |
__DNA__FIELD__cache
Field descriptor (offset) for struct member 'cache'.
|
static long[] |
__DNA__FIELD__distance
Field descriptor (offset) for struct member 'distance'.
|
static long[] |
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.
|
static long[] |
__DNA__FIELD__handle
Field descriptor (offset) for struct member 'handle'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__ipo
Field descriptor (offset) for struct member 'ipo'.
|
static long[] |
__DNA__FIELD__max_gain
Field descriptor (offset) for struct member 'max_gain'.
|
static long[] |
__DNA__FIELD__min_gain
Field descriptor (offset) for struct member 'min_gain'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
static long[] |
__DNA__FIELD__newpackedfile
Field descriptor (offset) for struct member 'newpackedfile'.
|
static long[] |
__DNA__FIELD__offset_time
Field descriptor (offset) for struct member 'offset_time'.
|
static long[] |
__DNA__FIELD__packedfile
Field descriptor (offset) for struct member 'packedfile'.
|
static long[] |
__DNA__FIELD__pitch
Field descriptor (offset) for struct member 'pitch'.
|
static long[] |
__DNA__FIELD__playback_handle
Field descriptor (offset) for struct member 'playback_handle'.
|
static long[] |
__DNA__FIELD__spinlock
Field descriptor (offset) for struct member 'spinlock'.
|
static long[] |
__DNA__FIELD__tags
Field descriptor (offset) for struct member 'tags'.
|
static long[] |
__DNA__FIELD__volume
Field descriptor (offset) for struct member 'volume'.
|
static long[] |
__DNA__FIELD__waveform
Field descriptor (offset) for struct member 'waveform'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bSound.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bSound(bSound that) |
|
bSound(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bSound> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
float |
getAttenuation()
Get method for struct member 'attenuation'.
|
CPointer<java.lang.Object> |
getCache()
Get method for struct member 'cache'.
|
float |
getDistance()
Get method for struct member 'distance'.
|
short |
getFlags()
Get method for struct member 'flags'.
|
CPointer<java.lang.Object> |
getHandle()
Get method for struct member 'handle'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<Ipo> |
getIpo()
Get method for struct member 'ipo'.
|
float |
getMax_gain()
Get method for struct member 'max_gain'.
|
float |
getMin_gain()
Get method for struct member 'min_gain'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
CPointer<PackedFile> |
getNewpackedfile()
Get method for struct member 'newpackedfile'.
|
double |
getOffset_time()
Get method for struct member 'offset_time'.
|
CPointer<PackedFile> |
getPackedfile()
Get method for struct member 'packedfile'.
|
float |
getPitch()
Get method for struct member 'pitch'.
|
CPointer<java.lang.Object> |
getPlayback_handle()
Get method for struct member 'playback_handle'.
|
CPointer<java.lang.Object> |
getSpinlock()
Get method for struct member 'spinlock'.
|
short |
getTags()
Get method for struct member 'tags'.
|
float |
getVolume()
Get method for struct member 'volume'.
|
CPointer<java.lang.Object> |
getWaveform()
Get method for struct member 'waveform'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAttenuation(float attenuation)
Set method for struct member 'attenuation'.
|
void |
setCache(CPointer<java.lang.Object> cache)
Set method for struct member 'cache'.
|
void |
setDistance(float distance)
Set method for struct member 'distance'.
|
void |
setFlags(short flags)
Set method for struct member 'flags'.
|
void |
setHandle(CPointer<java.lang.Object> handle)
Set method for struct member 'handle'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setIpo(CPointer<Ipo> ipo)
Set method for struct member 'ipo'.
|
void |
setMax_gain(float max_gain)
Set method for struct member 'max_gain'.
|
void |
setMin_gain(float min_gain)
Set method for struct member 'min_gain'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setNewpackedfile(CPointer<PackedFile> newpackedfile)
Set method for struct member 'newpackedfile'.
|
void |
setOffset_time(double offset_time)
Set method for struct member 'offset_time'.
|
void |
setPackedfile(CPointer<PackedFile> packedfile)
Set method for struct member 'packedfile'.
|
void |
setPitch(float pitch)
Set method for struct member 'pitch'.
|
void |
setPlayback_handle(CPointer<java.lang.Object> playback_handle)
Set method for struct member 'playback_handle'.
|
void |
setSpinlock(CPointer<java.lang.Object> spinlock)
Set method for struct member 'spinlock'.
|
void |
setTags(short tags)
Set method for struct member 'tags'.
|
void |
setVolume(float volume)
Set method for struct member 'volume'.
|
void |
setWaveform(CPointer<java.lang.Object> waveform)
Set method for struct member 'waveform'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for bSound.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__name
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__packedfile
The packed file.
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__packedfile); CPointer<CPointer<PackedFile>> p_packedfile = p.cast(new Class[]{CPointer.class, PackedFile.class});
public static final long[] __DNA__FIELD__handle
The handle for audaspace.
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__handle); CPointer<CPointer<Object>> p_handle = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__newpackedfile
Deprecated; used for loading pre 2.5 files.
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__newpackedfile); CPointer<CPointer<PackedFile>> p_newpackedfile = p.cast(new Class[]{CPointer.class, PackedFile.class});
public static final long[] __DNA__FIELD__ipo
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
public static final long[] __DNA__FIELD__volume
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__volume); CPointer<Float> p_volume = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__attenuation
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__attenuation); CPointer<Float> p_attenuation = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__pitch
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__pitch); CPointer<Float> p_pitch = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__min_gain
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__min_gain); CPointer<Float> p_min_gain = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__max_gain
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__max_gain); CPointer<Float> p_max_gain = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__distance
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__distance); CPointer<Float> p_distance = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__flags
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__flags); CPointer<Short> p_flags = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__tags
Runtime only, always reset in readfile.
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__tags); CPointer<Short> p_tags = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__offset_time
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__offset_time); CPointer<Double> p_offset_time = p.cast(new Class[]{Double.class});
public static final long[] __DNA__FIELD__cache
int type; struct bSound
*child_sound;
Unused currently. The audaspace handle for cache.
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__cache); CPointer<CPointer<Object>> p_cache = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__waveform
Waveform display data.
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__waveform); CPointer<CPointer<Object>> p_waveform = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__playback_handle
The audaspace handle that should actually be played back. Should be cache if cache != NULL; otherwise its handle
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__playback_handle); CPointer<CPointer<Object>> p_playback_handle = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__spinlock
Spin-lock for asynchronous loading of sounds.
This is how you get a reference on the corresponding field in the struct:
bSound bsound = ...; CPointer<Object> p = bsound.__dna__addressof(bSound.__DNA__FIELD__spinlock); CPointer<CPointer<Object>> p_spinlock = p.cast(new Class[]{CPointer.class, Object.class});
public bSound(long __address, Block __block, BlockTable __blockTable)
protected bSound(bSound that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
java.io.IOException
__DNA__FIELD__name
public CPointer<PackedFile> getPackedfile() throws java.io.IOException
The packed file.
java.io.IOException
__DNA__FIELD__packedfile
public void setPackedfile(CPointer<PackedFile> packedfile) throws java.io.IOException
The packed file.
java.io.IOException
__DNA__FIELD__packedfile
public CPointer<java.lang.Object> getHandle() throws java.io.IOException
The handle for audaspace.
java.io.IOException
__DNA__FIELD__handle
public void setHandle(CPointer<java.lang.Object> handle) throws java.io.IOException
The handle for audaspace.
java.io.IOException
__DNA__FIELD__handle
public CPointer<PackedFile> getNewpackedfile() throws java.io.IOException
Deprecated; used for loading pre 2.5 files.
java.io.IOException
__DNA__FIELD__newpackedfile
public void setNewpackedfile(CPointer<PackedFile> newpackedfile) throws java.io.IOException
Deprecated; used for loading pre 2.5 files.
java.io.IOException
__DNA__FIELD__newpackedfile
public CPointer<Ipo> getIpo() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(CPointer<Ipo> ipo) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ipo
public float getVolume() throws java.io.IOException
java.io.IOException
__DNA__FIELD__volume
public void setVolume(float volume) throws java.io.IOException
java.io.IOException
__DNA__FIELD__volume
public float getAttenuation() throws java.io.IOException
java.io.IOException
__DNA__FIELD__attenuation
public void setAttenuation(float attenuation) throws java.io.IOException
java.io.IOException
__DNA__FIELD__attenuation
public float getPitch() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pitch
public void setPitch(float pitch) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pitch
public float getMin_gain() throws java.io.IOException
java.io.IOException
__DNA__FIELD__min_gain
public void setMin_gain(float min_gain) throws java.io.IOException
java.io.IOException
__DNA__FIELD__min_gain
public float getMax_gain() throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_gain
public void setMax_gain(float max_gain) throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_gain
public float getDistance() throws java.io.IOException
java.io.IOException
__DNA__FIELD__distance
public void setDistance(float distance) throws java.io.IOException
java.io.IOException
__DNA__FIELD__distance
public short getFlags() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flags
public void setFlags(short flags) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flags
public short getTags() throws java.io.IOException
Runtime only, always reset in readfile.
java.io.IOException
__DNA__FIELD__tags
public void setTags(short tags) throws java.io.IOException
Runtime only, always reset in readfile.
java.io.IOException
__DNA__FIELD__tags
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public double getOffset_time() throws java.io.IOException
java.io.IOException
__DNA__FIELD__offset_time
public void setOffset_time(double offset_time) throws java.io.IOException
java.io.IOException
__DNA__FIELD__offset_time
public CPointer<java.lang.Object> getCache() throws java.io.IOException
int type; struct bSound
*child_sound;
Unused currently. The audaspace handle for cache.
java.io.IOException
__DNA__FIELD__cache
public void setCache(CPointer<java.lang.Object> cache) throws java.io.IOException
int type; struct bSound
*child_sound;
Unused currently. The audaspace handle for cache.
java.io.IOException
__DNA__FIELD__cache
public CPointer<java.lang.Object> getWaveform() throws java.io.IOException
Waveform display data.
java.io.IOException
__DNA__FIELD__waveform
public void setWaveform(CPointer<java.lang.Object> waveform) throws java.io.IOException
Waveform display data.
java.io.IOException
__DNA__FIELD__waveform
public CPointer<java.lang.Object> getPlayback_handle() throws java.io.IOException
The audaspace handle that should actually be played back. Should be cache if cache != NULL; otherwise its handle
java.io.IOException
__DNA__FIELD__playback_handle
public void setPlayback_handle(CPointer<java.lang.Object> playback_handle) throws java.io.IOException
The audaspace handle that should actually be played back. Should be cache if cache != NULL; otherwise its handle
java.io.IOException
__DNA__FIELD__playback_handle
public CPointer<java.lang.Object> getSpinlock() throws java.io.IOException
Spin-lock for asynchronous loading of sounds.
java.io.IOException
__DNA__FIELD__spinlock
public void setSpinlock(CPointer<java.lang.Object> spinlock) throws java.io.IOException
Spin-lock for asynchronous loading of sounds.
java.io.IOException
__DNA__FIELD__spinlock