Class WalkNavigation


  • public class WalkNavigation
    extends CFacade
    Generated facet for DNA struct type 'WalkNavigation'.

    Class Documentation

    • 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 movement

        Blender 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 flying

        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__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 modifiers

        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__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 walking

        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__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 jump

        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__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 mode

        Blender 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)
    • 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 movement

        Blender 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 movement

        Blender 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 mode

        Blender 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 mode

        Blender 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.