Class Speaker
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Speaker
-
public class Speaker extends CFacade
Generated facet for DNA struct type 'Speaker'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.static long[]
__DNA__FIELD__attenuation
Field descriptor (offset) for struct member 'attenuation'.static long[]
__DNA__FIELD__cone_angle_inner
Field descriptor (offset) for struct member 'cone_angle_inner'.static long[]
__DNA__FIELD__cone_angle_outer
Field descriptor (offset) for struct member 'cone_angle_outer'.static long[]
__DNA__FIELD__cone_volume_outer
Field descriptor (offset) for struct member 'cone_volume_outer'.static long[]
__DNA__FIELD__distance_max
Field descriptor (offset) for struct member 'distance_max'.static long[]
__DNA__FIELD__distance_reference
Field descriptor (offset) for struct member 'distance_reference'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__pitch
Field descriptor (offset) for struct member 'pitch'.static long[]
__DNA__FIELD__sound
Field descriptor (offset) for struct member 'sound'.static long[]
__DNA__FIELD__volume
Field descriptor (offset) for struct member 'volume'.static long[]
__DNA__FIELD__volume_max
Field descriptor (offset) for struct member 'volume_max'.static long[]
__DNA__FIELD__volume_min
Field descriptor (offset) for struct member 'volume_min'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Speaker.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description Speaker(long __address, Block __block, BlockTable __blockTable)
protected
Speaker(Speaker that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Speaker>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad1()
Get method for struct member '_pad1'.CPointer<AnimData>
getAdt()
Get method for struct member 'adt'.float
getAttenuation()
Get method for struct member 'attenuation'.float
getCone_angle_inner()
Get method for struct member 'cone_angle_inner'.float
getCone_angle_outer()
Get method for struct member 'cone_angle_outer'.float
getCone_volume_outer()
Get method for struct member 'cone_volume_outer'.float
getDistance_max()
Get method for struct member 'distance_max'.float
getDistance_reference()
Get method for struct member 'distance_reference'.short
getFlag()
Get method for struct member 'flag'.ID
getId()
Get method for struct member 'id'.float
getPitch()
Get method for struct member 'pitch'.CPointer<bSound>
getSound()
Get method for struct member 'sound'.float
getVolume()
Get method for struct member 'volume'.float
getVolume_max()
Get method for struct member 'volume_max'.float
getVolume_min()
Get method for struct member 'volume_min'.void
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.void
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.void
setAttenuation(float attenuation)
Set method for struct member 'attenuation'.void
setCone_angle_inner(float cone_angle_inner)
Set method for struct member 'cone_angle_inner'.void
setCone_angle_outer(float cone_angle_outer)
Set method for struct member 'cone_angle_outer'.void
setCone_volume_outer(float cone_volume_outer)
Set method for struct member 'cone_volume_outer'.void
setDistance_max(float distance_max)
Set method for struct member 'distance_max'.void
setDistance_reference(float distance_reference)
Set method for struct member 'distance_reference'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setId(ID id)
Set method for struct member 'id'.void
setPitch(float pitch)
Set method for struct member 'pitch'.void
setSound(CPointer<bSound> sound)
Set method for struct member 'sound'.void
setVolume(float volume)
Set method for struct member 'volume'.void
setVolume_max(float volume_max)
Set method for struct member 'volume_max'.void
setVolume_min(float volume_min)
Set method for struct member 'volume_min'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct Speaker.It is required when allocating a new block to store data for Speaker.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__adt
public static final long[] __DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id for utilities to use it).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
Metadata
- Field: 'adt'
- Signature: 'AnimData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__sound
public static final long[] __DNA__FIELD__sound
Field descriptor (offset) for struct member 'sound'.Field Documentation
Blender Python API
Sound data-block used by this speakerPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__sound); CPointer<CPointer<bSound>> p_sound = p.cast(new Class[]{CPointer.class, bSound.class});
Metadata
- Field: 'sound'
- Signature: 'bSound*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__volume_max
public static final long[] __DNA__FIELD__volume_max
Field descriptor (offset) for struct member 'volume_max'.Field Documentation
Blender Python API
Maximum volume, no matter how near the object isBlender Source Code
not animatable properties
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__volume_max); CPointer<Float> p_volume_max = p.cast(new Class[]{Float.class});
Metadata
- Field: 'volume_max'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__volume_min
public static final long[] __DNA__FIELD__volume_min
Field descriptor (offset) for struct member 'volume_min'.Field Documentation
Blender Python API
Minimum volume, no matter how far away the object isPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__volume_min); CPointer<Float> p_volume_min = p.cast(new Class[]{Float.class});
Metadata
- Field: 'volume_min'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__distance_max
public static final long[] __DNA__FIELD__distance_max
Field descriptor (offset) for struct member 'distance_max'.Field Documentation
Blender Python API
Maximum distance for volume calculation, no matter how far away the object isPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__distance_max); CPointer<Float> p_distance_max = p.cast(new Class[]{Float.class});
Metadata
- Field: 'distance_max'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__distance_reference
public static final long[] __DNA__FIELD__distance_reference
Field descriptor (offset) for struct member 'distance_reference'.Field Documentation
Blender Python API
Reference distance at which volume is 100%Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__distance_reference); CPointer<Float> p_distance_reference = p.cast(new Class[]{Float.class});
Metadata
- Field: 'distance_reference'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__attenuation
public static final long[] __DNA__FIELD__attenuation
Field descriptor (offset) for struct member 'attenuation'.Field Documentation
Blender Python API
How strong the distance affects volume, depending on distance modelPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__attenuation); CPointer<Float> p_attenuation = p.cast(new Class[]{Float.class});
Metadata
- Field: 'attenuation'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__cone_angle_outer
public static final long[] __DNA__FIELD__cone_angle_outer
Field descriptor (offset) for struct member 'cone_angle_outer'.Field Documentation
Blender Python API
Angle of the outer cone, in degrees, outside this cone the volume is the outer cone volume, between inner and outer cone the volume is interpolatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__cone_angle_outer); CPointer<Float> p_cone_angle_outer = p.cast(new Class[]{Float.class});
Metadata
- Field: 'cone_angle_outer'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__cone_angle_inner
public static final long[] __DNA__FIELD__cone_angle_inner
Field descriptor (offset) for struct member 'cone_angle_inner'.Field Documentation
Blender Python API
Angle of the inner cone, in degrees, inside the cone the volume is 100%Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__cone_angle_inner); CPointer<Float> p_cone_angle_inner = p.cast(new Class[]{Float.class});
Metadata
- Field: 'cone_angle_inner'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__cone_volume_outer
public static final long[] __DNA__FIELD__cone_volume_outer
Field descriptor (offset) for struct member 'cone_volume_outer'.Field Documentation
Blender Python API
Volume outside the outer conePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__cone_volume_outer); CPointer<Float> p_cone_volume_outer = p.cast(new Class[]{Float.class});
Metadata
- Field: 'cone_volume_outer'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__volume
public static final long[] __DNA__FIELD__volume
Field descriptor (offset) for struct member 'volume'.Field Documentation
Blender Python API
How loud the sound isBlender Source Code
animatable properties
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__volume); CPointer<Float> p_volume = p.cast(new Class[]{Float.class});
Metadata
- Field: 'volume'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__pitch
public static final long[] __DNA__FIELD__pitch
Field descriptor (offset) for struct member 'pitch'.Field Documentation
Blender Python API
Playback pitch of the soundPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__pitch); CPointer<Float> p_pitch = p.cast(new Class[]{Float.class});
Metadata
- Field: 'pitch'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
flag
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Speaker speaker = ...; CPointer<Object> p = speaker.__dna__addressof(Speaker.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad1'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
-
Constructor Detail
-
Speaker
public Speaker(long __address, Block __block, BlockTable __blockTable)
-
Speaker
protected Speaker(Speaker that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getAdt
public CPointer<AnimData> getAdt() throws java.io.IOException
Get method for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id for utilities to use it).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
setAdt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Set method for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id for utilities to use it).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
getSound
public CPointer<bSound> getSound() throws java.io.IOException
Get method for struct member 'sound'.Field Documentation
Blender Python API
Sound data-block used by this speaker- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sound
-
setSound
public void setSound(CPointer<bSound> sound) throws java.io.IOException
Set method for struct member 'sound'.Field Documentation
Blender Python API
Sound data-block used by this speaker- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sound
-
getVolume_max
public float getVolume_max() throws java.io.IOException
Get method for struct member 'volume_max'.Field Documentation
Blender Python API
Maximum volume, no matter how near the object isBlender Source Code
not animatable properties
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume_max
-
setVolume_max
public void setVolume_max(float volume_max) throws java.io.IOException
Set method for struct member 'volume_max'.Field Documentation
Blender Python API
Maximum volume, no matter how near the object isBlender Source Code
not animatable properties
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume_max
-
getVolume_min
public float getVolume_min() throws java.io.IOException
Get method for struct member 'volume_min'.Field Documentation
Blender Python API
Minimum volume, no matter how far away the object is- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume_min
-
setVolume_min
public void setVolume_min(float volume_min) throws java.io.IOException
Set method for struct member 'volume_min'.Field Documentation
Blender Python API
Minimum volume, no matter how far away the object is- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume_min
-
getDistance_max
public float getDistance_max() throws java.io.IOException
Get method for struct member 'distance_max'.Field Documentation
Blender Python API
Maximum distance for volume calculation, no matter how far away the object is- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__distance_max
-
setDistance_max
public void setDistance_max(float distance_max) throws java.io.IOException
Set method for struct member 'distance_max'.Field Documentation
Blender Python API
Maximum distance for volume calculation, no matter how far away the object is- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__distance_max
-
getDistance_reference
public float getDistance_reference() throws java.io.IOException
Get method for struct member 'distance_reference'.Field Documentation
Blender Python API
Reference distance at which volume is 100%- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__distance_reference
-
setDistance_reference
public void setDistance_reference(float distance_reference) throws java.io.IOException
Set method for struct member 'distance_reference'.Field Documentation
Blender Python API
Reference distance at which volume is 100%- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__distance_reference
-
getAttenuation
public float getAttenuation() throws java.io.IOException
Get method for struct member 'attenuation'.Field Documentation
Blender Python API
How strong the distance affects volume, depending on distance model- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuation
-
setAttenuation
public void setAttenuation(float attenuation) throws java.io.IOException
Set method for struct member 'attenuation'.Field Documentation
Blender Python API
How strong the distance affects volume, depending on distance model- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuation
-
getCone_angle_outer
public float getCone_angle_outer() throws java.io.IOException
Get method for struct member 'cone_angle_outer'.Field Documentation
Blender Python API
Angle of the outer cone, in degrees, outside this cone the volume is the outer cone volume, between inner and outer cone the volume is interpolated- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cone_angle_outer
-
setCone_angle_outer
public void setCone_angle_outer(float cone_angle_outer) throws java.io.IOException
Set method for struct member 'cone_angle_outer'.Field Documentation
Blender Python API
Angle of the outer cone, in degrees, outside this cone the volume is the outer cone volume, between inner and outer cone the volume is interpolated- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cone_angle_outer
-
getCone_angle_inner
public float getCone_angle_inner() throws java.io.IOException
Get method for struct member 'cone_angle_inner'.Field Documentation
Blender Python API
Angle of the inner cone, in degrees, inside the cone the volume is 100%- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cone_angle_inner
-
setCone_angle_inner
public void setCone_angle_inner(float cone_angle_inner) throws java.io.IOException
Set method for struct member 'cone_angle_inner'.Field Documentation
Blender Python API
Angle of the inner cone, in degrees, inside the cone the volume is 100%- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cone_angle_inner
-
getCone_volume_outer
public float getCone_volume_outer() throws java.io.IOException
Get method for struct member 'cone_volume_outer'.Field Documentation
Blender Python API
Volume outside the outer cone- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cone_volume_outer
-
setCone_volume_outer
public void setCone_volume_outer(float cone_volume_outer) throws java.io.IOException
Set method for struct member 'cone_volume_outer'.Field Documentation
Blender Python API
Volume outside the outer cone- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cone_volume_outer
-
getVolume
public float getVolume() throws java.io.IOException
Get method for struct member 'volume'.Field Documentation
Blender Python API
How loud the sound isBlender Source Code
animatable properties
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume
-
setVolume
public void setVolume(float volume) throws java.io.IOException
Set method for struct member 'volume'.Field Documentation
Blender Python API
How loud the sound isBlender Source Code
animatable properties
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume
-
getPitch
public float getPitch() throws java.io.IOException
Get method for struct member 'pitch'.Field Documentation
Blender Python API
Playback pitch of the sound- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pitch
-
setPitch
public void setPitch(float pitch) throws java.io.IOException
Set method for struct member 'pitch'.Field Documentation
Blender Python API
Playback pitch of the sound- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pitch
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
flag
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
flag
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
get_pad1
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
-