Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__length_unit
Field descriptor (offset) for struct member 'length_unit'.
|
static long[] |
__DNA__FIELD__mass_unit
Field descriptor (offset) for struct member 'mass_unit'.
|
static long[] |
__DNA__FIELD__scale_length
Field descriptor (offset) for struct member 'scale_length'.
|
static long[] |
__DNA__FIELD__system
Field descriptor (offset) for struct member 'system'.
|
static long[] |
__DNA__FIELD__system_rotation
Field descriptor (offset) for struct member 'system_rotation'.
|
static long[] |
__DNA__FIELD__temperature_unit
Field descriptor (offset) for struct member 'temperature_unit'.
|
static long[] |
__DNA__FIELD__time_unit
Field descriptor (offset) for struct member 'time_unit'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct UnitSettings.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
UnitSettings(long __address,
Block __block,
BlockTable __blockTable) |
protected |
UnitSettings(UnitSettings that) |
Modifier and Type | Method and Description |
---|---|
CPointer<UnitSettings> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
byte |
getLength_unit()
Get method for struct member 'length_unit'.
|
byte |
getMass_unit()
Get method for struct member 'mass_unit'.
|
float |
getScale_length()
Get method for struct member 'scale_length'.
|
byte |
getSystem_rotation()
Get method for struct member 'system_rotation'.
|
byte |
getSystem()
Get method for struct member 'system'.
|
byte |
getTemperature_unit()
Get method for struct member 'temperature_unit'.
|
byte |
getTime_unit()
Get method for struct member 'time_unit'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setLength_unit(byte length_unit)
Set method for struct member 'length_unit'.
|
void |
setMass_unit(byte mass_unit)
Set method for struct member 'mass_unit'.
|
void |
setScale_length(float scale_length)
Set method for struct member 'scale_length'.
|
void |
setSystem_rotation(byte system_rotation)
Set method for struct member 'system_rotation'.
|
void |
setSystem(byte system)
Set method for struct member 'system'.
|
void |
setTemperature_unit(byte temperature_unit)
Set method for struct member 'temperature_unit'.
|
void |
setTime_unit(byte time_unit)
Set method for struct member 'time_unit'.
|
__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 UnitSettings.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__scale_length
Display/Editing unit options for each scene Maybe have other unit conversions?.
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__scale_length); CPointer<Float> p_scale_length = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__system
Imperial, metric etc.
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__system); CPointer<Byte> p_system = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__system_rotation
Not implemented as a proper unit system yet.
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__system_rotation); CPointer<Byte> p_system_rotation = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__length_unit
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__length_unit); CPointer<Byte> p_length_unit = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__mass_unit
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__mass_unit); CPointer<Byte> p_mass_unit = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__time_unit
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__time_unit); CPointer<Byte> p_time_unit = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__temperature_unit
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD__temperature_unit); CPointer<Byte> p_temperature_unit = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
UnitSettings unitsettings = ...; CPointer<Object> p = unitsettings.__dna__addressof(UnitSettings.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public UnitSettings(long __address, Block __block, BlockTable __blockTable)
protected UnitSettings(UnitSettings that)
public float getScale_length() throws java.io.IOException
Display/Editing unit options for each scene Maybe have other unit conversions?.
java.io.IOException
__DNA__FIELD__scale_length
public void setScale_length(float scale_length) throws java.io.IOException
Display/Editing unit options for each scene Maybe have other unit conversions?.
java.io.IOException
__DNA__FIELD__scale_length
public byte getSystem() throws java.io.IOException
Imperial, metric etc.
java.io.IOException
__DNA__FIELD__system
public void setSystem(byte system) throws java.io.IOException
Imperial, metric etc.
java.io.IOException
__DNA__FIELD__system
public byte getSystem_rotation() throws java.io.IOException
Not implemented as a proper unit system yet.
java.io.IOException
__DNA__FIELD__system_rotation
public void setSystem_rotation(byte system_rotation) throws java.io.IOException
Not implemented as a proper unit system yet.
java.io.IOException
__DNA__FIELD__system_rotation
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public byte getLength_unit() throws java.io.IOException
java.io.IOException
__DNA__FIELD__length_unit
public void setLength_unit(byte length_unit) throws java.io.IOException
java.io.IOException
__DNA__FIELD__length_unit
public byte getMass_unit() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mass_unit
public void setMass_unit(byte mass_unit) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mass_unit
public byte getTime_unit() throws java.io.IOException
java.io.IOException
__DNA__FIELD__time_unit
public void setTime_unit(byte time_unit) throws java.io.IOException
java.io.IOException
__DNA__FIELD__time_unit
public byte getTemperature_unit() throws java.io.IOException
java.io.IOException
__DNA__FIELD__temperature_unit
public void setTemperature_unit(byte temperature_unit) throws java.io.IOException
java.io.IOException
__DNA__FIELD__temperature_unit
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 CPointer<UnitSettings> __io__addressof()