Class WalkNavigation
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.WalkNavigation
-
public class WalkNavigation extends CFacade
Generated facet for DNA struct type 'WalkNavigation'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__jump_height
Field descriptor (offset) for struct member 'jump_height'.static long[]
__DNA__FIELD__mouse_speed
Field descriptor (offset) for struct member 'mouse_speed'.static long[]
__DNA__FIELD__teleport_time
Field descriptor (offset) for struct member 'teleport_time'.static long[]
__DNA__FIELD__view_height
Field descriptor (offset) for struct member 'view_height'.static long[]
__DNA__FIELD__walk_speed
Field descriptor (offset) for struct member 'walk_speed'.static long[]
__DNA__FIELD__walk_speed_factor
Field descriptor (offset) for struct member 'walk_speed_factor'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct WalkNavigation.-
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 WalkNavigation(long __address, Block __block, BlockTable __blockTable)
protected
WalkNavigation(WalkNavigation that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<WalkNavigation>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad0()
Get method for struct member '_pad0'.short
getFlag()
Get method for struct member 'flag'.float
getJump_height()
Get method for struct member 'jump_height'.float
getMouse_speed()
Get method for struct member 'mouse_speed'.float
getTeleport_time()
Get method for struct member 'teleport_time'.float
getView_height()
Get method for struct member 'view_height'.float
getWalk_speed()
Get method for struct member 'walk_speed'.float
getWalk_speed_factor()
Get method for struct member 'walk_speed_factor'.void
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setJump_height(float jump_height)
Set method for struct member 'jump_height'.void
setMouse_speed(float mouse_speed)
Set method for struct member 'mouse_speed'.void
setTeleport_time(float teleport_time)
Set method for struct member 'teleport_time'.void
setView_height(float view_height)
Set method for struct member 'view_height'.void
setWalk_speed(float walk_speed)
Set method for struct member 'walk_speed'.void
setWalk_speed_factor(float walk_speed_factor)
Set method for struct member 'walk_speed_factor'.-
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 WalkNavigation.It is required when allocating a new block to store data for WalkNavigation.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__mouse_speed
public static final long[] __DNA__FIELD__mouse_speed
Field descriptor (offset) for struct member 'mouse_speed'.Field Documentation
Blender Python API
Speed factor for when looking around, high values mean faster mouse movementBlender Source Code
Speed factor for look around.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__DNA__FIELD__mouse_speed); CPointer<Float> p_mouse_speed = p.cast(new Class[]{Float.class});
Metadata
- Field: 'mouse_speed'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__walk_speed
public static final long[] __DNA__FIELD__walk_speed
Field descriptor (offset) for struct member 'walk_speed'.Field Documentation
Blender Python API
Base speed for walking and flyingPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__DNA__FIELD__walk_speed); CPointer<Float> p_walk_speed = p.cast(new Class[]{Float.class});
Metadata
- Field: 'walk_speed'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__walk_speed_factor
public static final long[] __DNA__FIELD__walk_speed_factor
Field descriptor (offset) for struct member 'walk_speed_factor'.Field Documentation
Blender Python API
Multiplication factor when using the fast or slow modifiersPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__DNA__FIELD__walk_speed_factor); CPointer<Float> p_walk_speed_factor = p.cast(new Class[]{Float.class});
Metadata
- Field: 'walk_speed_factor'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__view_height
public static final long[] __DNA__FIELD__view_height
Field descriptor (offset) for struct member 'view_height'.Field Documentation
Blender Python API
View distance from the floor when walkingPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__DNA__FIELD__view_height); CPointer<Float> p_view_height = p.cast(new Class[]{Float.class});
Metadata
- Field: 'view_height'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__jump_height
public static final long[] __DNA__FIELD__jump_height
Field descriptor (offset) for struct member 'jump_height'.Field Documentation
Blender Python API
Maximum height of a jumpPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__DNA__FIELD__jump_height); CPointer<Float> p_jump_height = p.cast(new Class[]{Float.class});
Metadata
- Field: 'jump_height'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__teleport_time
public static final long[] __DNA__FIELD__teleport_time
Field descriptor (offset) for struct member 'teleport_time'.Field Documentation
Blender Python API
Interval of time warp when teleporting in navigation modeBlender Source Code
Duration to use for teleporting.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__DNA__FIELD__teleport_time); CPointer<Float> p_teleport_time = p.cast(new Class[]{Float.class});
Metadata
- Field: 'teleport_time'
- 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'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__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___pad0
public static final long[] __DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WalkNavigation walknavigation = ...; CPointer<Object> p = walknavigation.__dna__addressof(WalkNavigation.__DNA__FIELD___pad0); CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad0'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
-
Constructor Detail
-
WalkNavigation
public WalkNavigation(long __address, Block __block, BlockTable __blockTable)
-
WalkNavigation
protected WalkNavigation(WalkNavigation that)
-
-
Method Detail
-
getMouse_speed
public float getMouse_speed() throws java.io.IOException
Get method for struct member 'mouse_speed'.Field Documentation
Blender Python API
Speed factor for when looking around, high values mean faster mouse movementBlender Source Code
Speed factor for look around.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mouse_speed
-
setMouse_speed
public void setMouse_speed(float mouse_speed) throws java.io.IOException
Set method for struct member 'mouse_speed'.Field Documentation
Blender Python API
Speed factor for when looking around, high values mean faster mouse movementBlender Source Code
Speed factor for look around.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mouse_speed
-
getWalk_speed
public float getWalk_speed() throws java.io.IOException
Get method for struct member 'walk_speed'.Field Documentation
Blender Python API
Base speed for walking and flying- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__walk_speed
-
setWalk_speed
public void setWalk_speed(float walk_speed) throws java.io.IOException
Set method for struct member 'walk_speed'.Field Documentation
Blender Python API
Base speed for walking and flying- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__walk_speed
-
getWalk_speed_factor
public float getWalk_speed_factor() throws java.io.IOException
Get method for struct member 'walk_speed_factor'.Field Documentation
Blender Python API
Multiplication factor when using the fast or slow modifiers- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__walk_speed_factor
-
setWalk_speed_factor
public void setWalk_speed_factor(float walk_speed_factor) throws java.io.IOException
Set method for struct member 'walk_speed_factor'.Field Documentation
Blender Python API
Multiplication factor when using the fast or slow modifiers- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__walk_speed_factor
-
getView_height
public float getView_height() throws java.io.IOException
Get method for struct member 'view_height'.Field Documentation
Blender Python API
View distance from the floor when walking- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__view_height
-
setView_height
public void setView_height(float view_height) throws java.io.IOException
Set method for struct member 'view_height'.Field Documentation
Blender Python API
View distance from the floor when walking- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__view_height
-
getJump_height
public float getJump_height() throws java.io.IOException
Get method for struct member 'jump_height'.Field Documentation
Blender Python API
Maximum height of a jump- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__jump_height
-
setJump_height
public void setJump_height(float jump_height) throws java.io.IOException
Set method for struct member 'jump_height'.Field Documentation
Blender Python API
Maximum height of a jump- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__jump_height
-
getTeleport_time
public float getTeleport_time() throws java.io.IOException
Get method for struct member 'teleport_time'.Field Documentation
Blender Python API
Interval of time warp when teleporting in navigation modeBlender Source Code
Duration to use for teleporting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__teleport_time
-
setTeleport_time
public void setTeleport_time(float teleport_time) throws java.io.IOException
Set method for struct member 'teleport_time'.Field Documentation
Blender Python API
Interval of time warp when teleporting in navigation modeBlender Source Code
Duration to use for teleporting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__teleport_time
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member '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'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
get_pad0
public CArrayFacade<java.lang.Byte> get_pad0() throws java.io.IOException
Get method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
set_pad0
public void set_pad0(CArrayFacade<java.lang.Byte> _pad0) throws java.io.IOException
Set method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
__io__addressof
public CPointer<WalkNavigation> __io__addressof()
Instantiates a pointer on this instance.
-
-