Class XrSessionSettings
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.XrSessionSettings
-
public class XrSessionSettings extends CFacade
Generated facet for DNA struct type 'XrSessionSettings'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.static long[]
__DNA__FIELD__base_pose_angle
Field descriptor (offset) for struct member 'base_pose_angle'.static long[]
__DNA__FIELD__base_pose_location
Field descriptor (offset) for struct member 'base_pose_location'.static long[]
__DNA__FIELD__base_pose_object
Field descriptor (offset) for struct member 'base_pose_object'.static long[]
__DNA__FIELD__base_pose_type
Field descriptor (offset) for struct member 'base_pose_type'.static long[]
__DNA__FIELD__clip_end
Field descriptor (offset) for struct member 'clip_end'.static long[]
__DNA__FIELD__clip_start
Field descriptor (offset) for struct member 'clip_start'.static long[]
__DNA__FIELD__draw_flags
Field descriptor (offset) for struct member 'draw_flags'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__shading
Field descriptor (offset) for struct member 'shading'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct XrSessionSettings.-
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 XrSessionSettings(long __address, Block __block, BlockTable __blockTable)
protected
XrSessionSettings(XrSessionSettings that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<XrSessionSettings>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Byte>
get_pad2()
Get method for struct member '_pad2'.float
getBase_pose_angle()
Get method for struct member 'base_pose_angle'.CArrayFacade<java.lang.Float>
getBase_pose_location()
Get method for struct member 'base_pose_location'.CPointer<BlenderObject>
getBase_pose_object()
Get method for struct member 'base_pose_object'.byte
getBase_pose_type()
Get method for struct member 'base_pose_type'.float
getClip_end()
Get method for struct member 'clip_end'.float
getClip_start()
Get method for struct member 'clip_start'.byte
getDraw_flags()
Get method for struct member 'draw_flags'.int
getFlag()
Get method for struct member 'flag'.View3DShading
getShading()
Get method for struct member 'shading'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.void
setBase_pose_angle(float base_pose_angle)
Set method for struct member 'base_pose_angle'.void
setBase_pose_location(CArrayFacade<java.lang.Float> base_pose_location)
Set method for struct member 'base_pose_location'.void
setBase_pose_object(CPointer<BlenderObject> base_pose_object)
Set method for struct member 'base_pose_object'.void
setBase_pose_type(byte base_pose_type)
Set method for struct member 'base_pose_type'.void
setClip_end(float clip_end)
Set method for struct member 'clip_end'.void
setClip_start(float clip_start)
Set method for struct member 'clip_start'.void
setDraw_flags(byte draw_flags)
Set method for struct member 'draw_flags'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setShading(View3DShading shading)
Set method for struct member 'shading'.-
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 XrSessionSettings.It is required when allocating a new block to store data for XrSessionSettings.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__shading
public static final long[] __DNA__FIELD__shading
Field descriptor (offset) for struct member 'shading'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Shading settings, struct shared with 3D-View so settings are the same.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__shading); CPointer<View3DShading> p_shading = p.cast(new Class[]{View3DShading.class});
Metadata
- Field: 'shading'
- Signature: 'View3DShading'
- Actual Size (32bit/64bit): 872/880
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[7]'
- Actual Size (32bit/64bit): 7/7
-
__DNA__FIELD__base_pose_type
public static final long[] __DNA__FIELD__base_pose_type
Field descriptor (offset) for struct member 'base_pose_type'.Field Documentation
Blender Python API
Define where the location and rotation for the VR view come from, to which translation and rotation deltas from the VR headset will be applied toBlender Source Code
eXRSessionBasePoseType
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__base_pose_type); CPointer<Byte> p_base_pose_type = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'base_pose_type'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__base_pose_object
public static final long[] __DNA__FIELD__base_pose_object
Field descriptor (offset) for struct member 'base_pose_object'.Field Documentation
Blender Python API
Object to take the location and rotation to which translation and rotation deltas from the VR headset will be applied toBlender Source Code
Object
to take the location and rotation as base position from.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__base_pose_object); CPointer<CPointer<BlenderObject>> p_base_pose_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'base_pose_object'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__base_pose_location
public static final long[] __DNA__FIELD__base_pose_location
Field descriptor (offset) for struct member 'base_pose_location'.Field Documentation
Blender Python API
Coordinates to apply translation deltas from the VR headset toPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__base_pose_location); CPointer<CArrayFacade<Float>> p_base_pose_location = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'base_pose_location'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__base_pose_angle
public static final long[] __DNA__FIELD__base_pose_angle
Field descriptor (offset) for struct member 'base_pose_angle'.Field Documentation
Blender Python API
Rotation angle around the Z-Axis to apply the rotation deltas from the VR headset toPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__base_pose_angle); CPointer<Float> p_base_pose_angle = p.cast(new Class[]{Float.class});
Metadata
- Field: 'base_pose_angle'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__draw_flags
public static final long[] __DNA__FIELD__draw_flags
Field descriptor (offset) for struct member 'draw_flags'.Field Documentation
Blender Source Code
View3D
draw flags (V3D_OFSDRAW_NONE, V3D_OFSDRAW_SHOW_ANNOTATION, ...).Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__draw_flags); CPointer<Byte> p_draw_flags = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'draw_flags'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad2'
- Signature: 'char[3]'
- Actual Size (32bit/64bit): 3/3
-
__DNA__FIELD__clip_start
public static final long[] __DNA__FIELD__clip_start
Field descriptor (offset) for struct member 'clip_start'.Field Documentation
Blender Python API
VR viewport near clipping distanceBlender Source Code
Clipping distance.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__clip_start); CPointer<Float> p_clip_start = p.cast(new Class[]{Float.class});
Metadata
- Field: 'clip_start'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__clip_end
public static final long[] __DNA__FIELD__clip_end
Field descriptor (offset) for struct member 'clip_end'.Field Documentation
Blender Python API
VR viewport far clipping distancePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__clip_end); CPointer<Float> p_clip_end = p.cast(new Class[]{Float.class});
Metadata
- Field: 'clip_end'
- 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:
XrSessionSettings xrsessionsettings = ...; CPointer<Object> p = xrsessionsettings.__dna__addressof(XrSessionSettings.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
XrSessionSettings
public XrSessionSettings(long __address, Block __block, BlockTable __blockTable)
-
XrSessionSettings
protected XrSessionSettings(XrSessionSettings that)
-
-
Method Detail
-
getShading
public View3DShading getShading() throws java.io.IOException
Get method for struct member 'shading'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Shading settings, struct shared with 3D-View so settings are the same.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shading
-
setShading
public void setShading(View3DShading shading) throws java.io.IOException
Set method for struct member 'shading'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Shading settings, struct shared with 3D-View so settings are the same.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shading
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getBase_pose_type
public byte getBase_pose_type() throws java.io.IOException
Get method for struct member 'base_pose_type'.Field Documentation
Blender Python API
Define where the location and rotation for the VR view come from, to which translation and rotation deltas from the VR headset will be applied toBlender Source Code
eXRSessionBasePoseType
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_type
-
setBase_pose_type
public void setBase_pose_type(byte base_pose_type) throws java.io.IOException
Set method for struct member 'base_pose_type'.Field Documentation
Blender Python API
Define where the location and rotation for the VR view come from, to which translation and rotation deltas from the VR headset will be applied toBlender Source Code
eXRSessionBasePoseType
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_type
-
getBase_pose_object
public CPointer<BlenderObject> getBase_pose_object() throws java.io.IOException
Get method for struct member 'base_pose_object'.Field Documentation
Blender Python API
Object to take the location and rotation to which translation and rotation deltas from the VR headset will be applied toBlender Source Code
Object
to take the location and rotation as base position from.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_object
-
setBase_pose_object
public void setBase_pose_object(CPointer<BlenderObject> base_pose_object) throws java.io.IOException
Set method for struct member 'base_pose_object'.Field Documentation
Blender Python API
Object to take the location and rotation to which translation and rotation deltas from the VR headset will be applied toBlender Source Code
Object
to take the location and rotation as base position from.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_object
-
getBase_pose_location
public CArrayFacade<java.lang.Float> getBase_pose_location() throws java.io.IOException
Get method for struct member 'base_pose_location'.Field Documentation
Blender Python API
Coordinates to apply translation deltas from the VR headset to- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_location
-
setBase_pose_location
public void setBase_pose_location(CArrayFacade<java.lang.Float> base_pose_location) throws java.io.IOException
Set method for struct member 'base_pose_location'.Field Documentation
Blender Python API
Coordinates to apply translation deltas from the VR headset to- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_location
-
getBase_pose_angle
public float getBase_pose_angle() throws java.io.IOException
Get method for struct member 'base_pose_angle'.Field Documentation
Blender Python API
Rotation angle around the Z-Axis to apply the rotation deltas from the VR headset to- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_angle
-
setBase_pose_angle
public void setBase_pose_angle(float base_pose_angle) throws java.io.IOException
Set method for struct member 'base_pose_angle'.Field Documentation
Blender Python API
Rotation angle around the Z-Axis to apply the rotation deltas from the VR headset to- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base_pose_angle
-
getDraw_flags
public byte getDraw_flags() throws java.io.IOException
Get method for struct member 'draw_flags'.Field Documentation
Blender Source Code
View3D
draw flags (V3D_OFSDRAW_NONE, V3D_OFSDRAW_SHOW_ANNOTATION, ...).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__draw_flags
-
setDraw_flags
public void setDraw_flags(byte draw_flags) throws java.io.IOException
Set method for struct member 'draw_flags'.Field Documentation
Blender Source Code
View3D
draw flags (V3D_OFSDRAW_NONE, V3D_OFSDRAW_SHOW_ANNOTATION, ...).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__draw_flags
-
get_pad2
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
getClip_start
public float getClip_start() throws java.io.IOException
Get method for struct member 'clip_start'.Field Documentation
Blender Python API
VR viewport near clipping distanceBlender Source Code
Clipping distance.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clip_start
-
setClip_start
public void setClip_start(float clip_start) throws java.io.IOException
Set method for struct member 'clip_start'.Field Documentation
Blender Python API
VR viewport near clipping distanceBlender Source Code
Clipping distance.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clip_start
-
getClip_end
public float getClip_end() throws java.io.IOException
Get method for struct member 'clip_end'.Field Documentation
Blender Python API
VR viewport far clipping distance- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clip_end
-
setClip_end
public void setClip_end(float clip_end) throws java.io.IOException
Set method for struct member 'clip_end'.Field Documentation
Blender Python API
VR viewport far clipping distance- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clip_end
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
__io__addressof
public CPointer<XrSessionSettings> __io__addressof()
Instantiates a pointer on this instance.
-
-