Class CameraDOFSettings
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.CameraDOFSettings
-
public class CameraDOFSettings extends CFacade
Generated facet for DNA struct type 'CameraDOFSettings'.Class Documentation
Blender Source Code
Properties for dof effect.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__aperture_blades
Field descriptor (offset) for struct member 'aperture_blades'.static long[]
__DNA__FIELD__aperture_fstop
Field descriptor (offset) for struct member 'aperture_fstop'.static long[]
__DNA__FIELD__aperture_ratio
Field descriptor (offset) for struct member 'aperture_ratio'.static long[]
__DNA__FIELD__aperture_rotation
Field descriptor (offset) for struct member 'aperture_rotation'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__focus_distance
Field descriptor (offset) for struct member 'focus_distance'.static long[]
__DNA__FIELD__focus_object
Field descriptor (offset) for struct member 'focus_object'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct CameraDOFSettings.-
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 CameraDOFSettings(long __address, Block __block, BlockTable __blockTable)
protected
CameraDOFSettings(CameraDOFSettings that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<CameraDOFSettings>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.int
getAperture_blades()
Get method for struct member 'aperture_blades'.float
getAperture_fstop()
Get method for struct member 'aperture_fstop'.float
getAperture_ratio()
Get method for struct member 'aperture_ratio'.float
getAperture_rotation()
Get method for struct member 'aperture_rotation'.short
getFlag()
Get method for struct member 'flag'.float
getFocus_distance()
Get method for struct member 'focus_distance'.CPointer<BlenderObject>
getFocus_object()
Get method for struct member 'focus_object'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setAperture_blades(int aperture_blades)
Set method for struct member 'aperture_blades'.void
setAperture_fstop(float aperture_fstop)
Set method for struct member 'aperture_fstop'.void
setAperture_ratio(float aperture_ratio)
Set method for struct member 'aperture_ratio'.void
setAperture_rotation(float aperture_rotation)
Set method for struct member 'aperture_rotation'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setFocus_distance(float focus_distance)
Set method for struct member 'focus_distance'.void
setFocus_object(CPointer<BlenderObject> focus_object)
Set method for struct member 'focus_object'.-
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 CameraDOFSettings.It is required when allocating a new block to store data for CameraDOFSettings.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__focus_object
public static final long[] __DNA__FIELD__focus_object
Field descriptor (offset) for struct member 'focus_object'.Field Documentation
Blender Python API
Use this object to define the depth of field focal pointBlender Source Code
Focal distance for depth of field.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__DNA__FIELD__focus_object); CPointer<CPointer<BlenderObject>> p_focus_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'focus_object'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__focus_distance
public static final long[] __DNA__FIELD__focus_distance
Field descriptor (offset) for struct member 'focus_distance'.Field Documentation
Blender Python API
Distance to the focus point for depth of fieldPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__DNA__FIELD__focus_distance); CPointer<Float> p_focus_distance = p.cast(new Class[]{Float.class});
Metadata
- Field: 'focus_distance'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__aperture_fstop
public static final long[] __DNA__FIELD__aperture_fstop
Field descriptor (offset) for struct member 'aperture_fstop'.Field Documentation
Blender Python API
F-Stop ratio (lower numbers give more defocus, higher numbers give a sharper image)Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__DNA__FIELD__aperture_fstop); CPointer<Float> p_aperture_fstop = p.cast(new Class[]{Float.class});
Metadata
- Field: 'aperture_fstop'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__aperture_rotation
public static final long[] __DNA__FIELD__aperture_rotation
Field descriptor (offset) for struct member 'aperture_rotation'.Field Documentation
Blender Python API
Rotation of blades in aperturePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__DNA__FIELD__aperture_rotation); CPointer<Float> p_aperture_rotation = p.cast(new Class[]{Float.class});
Metadata
- Field: 'aperture_rotation'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__aperture_ratio
public static final long[] __DNA__FIELD__aperture_ratio
Field descriptor (offset) for struct member 'aperture_ratio'.Field Documentation
Blender Python API
Distortion to simulate anamorphic lens bokehPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__DNA__FIELD__aperture_ratio); CPointer<Float> p_aperture_ratio = p.cast(new Class[]{Float.class});
Metadata
- Field: 'aperture_ratio'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__aperture_blades
public static final long[] __DNA__FIELD__aperture_blades
Field descriptor (offset) for struct member 'aperture_blades'.Field Documentation
Blender Python API
Number of blades in aperture for polygonal bokeh (at least 3)Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__DNA__FIELD__aperture_blades); CPointer<Integer> p_aperture_blades = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'aperture_blades'
- Signature: 'int'
- 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:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__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___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:
CameraDOFSettings cameradofsettings = ...; CPointer<Object> p = cameradofsettings.__dna__addressof(CameraDOFSettings.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[2]'
- Actual Size (32bit/64bit): 2/2
-
-
Constructor Detail
-
CameraDOFSettings
public CameraDOFSettings(long __address, Block __block, BlockTable __blockTable)
-
CameraDOFSettings
protected CameraDOFSettings(CameraDOFSettings that)
-
-
Method Detail
-
getFocus_object
public CPointer<BlenderObject> getFocus_object() throws java.io.IOException
Get method for struct member 'focus_object'.Field Documentation
Blender Python API
Use this object to define the depth of field focal pointBlender Source Code
Focal distance for depth of field.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__focus_object
-
setFocus_object
public void setFocus_object(CPointer<BlenderObject> focus_object) throws java.io.IOException
Set method for struct member 'focus_object'.Field Documentation
Blender Python API
Use this object to define the depth of field focal pointBlender Source Code
Focal distance for depth of field.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__focus_object
-
getFocus_distance
public float getFocus_distance() throws java.io.IOException
Get method for struct member 'focus_distance'.Field Documentation
Blender Python API
Distance to the focus point for depth of field- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__focus_distance
-
setFocus_distance
public void setFocus_distance(float focus_distance) throws java.io.IOException
Set method for struct member 'focus_distance'.Field Documentation
Blender Python API
Distance to the focus point for depth of field- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__focus_distance
-
getAperture_fstop
public float getAperture_fstop() throws java.io.IOException
Get method for struct member 'aperture_fstop'.Field Documentation
Blender Python API
F-Stop ratio (lower numbers give more defocus, higher numbers give a sharper image)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_fstop
-
setAperture_fstop
public void setAperture_fstop(float aperture_fstop) throws java.io.IOException
Set method for struct member 'aperture_fstop'.Field Documentation
Blender Python API
F-Stop ratio (lower numbers give more defocus, higher numbers give a sharper image)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_fstop
-
getAperture_rotation
public float getAperture_rotation() throws java.io.IOException
Get method for struct member 'aperture_rotation'.Field Documentation
Blender Python API
Rotation of blades in aperture- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_rotation
-
setAperture_rotation
public void setAperture_rotation(float aperture_rotation) throws java.io.IOException
Set method for struct member 'aperture_rotation'.Field Documentation
Blender Python API
Rotation of blades in aperture- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_rotation
-
getAperture_ratio
public float getAperture_ratio() throws java.io.IOException
Get method for struct member 'aperture_ratio'.Field Documentation
Blender Python API
Distortion to simulate anamorphic lens bokeh- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_ratio
-
setAperture_ratio
public void setAperture_ratio(float aperture_ratio) throws java.io.IOException
Set method for struct member 'aperture_ratio'.Field Documentation
Blender Python API
Distortion to simulate anamorphic lens bokeh- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_ratio
-
getAperture_blades
public int getAperture_blades() throws java.io.IOException
Get method for struct member 'aperture_blades'.Field Documentation
Blender Python API
Number of blades in aperture for polygonal bokeh (at least 3)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_blades
-
setAperture_blades
public void setAperture_blades(int aperture_blades) throws java.io.IOException
Set method for struct member 'aperture_blades'.Field Documentation
Blender Python API
Number of blades in aperture for polygonal bokeh (at least 3)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aperture_blades
-
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_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
-
__io__addressof
public CPointer<CameraDOFSettings> __io__addressof()
Instantiates a pointer on this instance.
-
-