public class Camera extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__clipend
Field descriptor (offset) for struct member 'clipend'.
|
static long[] |
__DNA__FIELD__clipsta
Field descriptor (offset) for struct member 'clipsta'.
|
static long[] |
__DNA__FIELD__dof_ob
Field descriptor (offset) for struct member 'dof_ob'.
|
static long[] |
__DNA__FIELD__drawsize
Field descriptor (offset) for struct member 'drawsize'.
|
static long[] |
__DNA__FIELD__dtx
Field descriptor (offset) for struct member 'dtx'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__gpu_dof
Field descriptor (offset) for struct member 'gpu_dof'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__ipo
Deprecated.
Deprecatedold animation system, deprecated for 2.5
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class}); Metadata
|
static long[] |
__DNA__FIELD__lens
Field descriptor (offset) for struct member 'lens'.
|
static long[] |
__DNA__FIELD__ortho_scale
Field descriptor (offset) for struct member 'ortho_scale'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__passepartalpha
Field descriptor (offset) for struct member 'passepartalpha'.
|
static long[] |
__DNA__FIELD__sensor_fit
Field descriptor (offset) for struct member 'sensor_fit'.
|
static long[] |
__DNA__FIELD__sensor_x
Field descriptor (offset) for struct member 'sensor_x'.
|
static long[] |
__DNA__FIELD__sensor_y
Field descriptor (offset) for struct member 'sensor_y'.
|
static long[] |
__DNA__FIELD__shiftx
Field descriptor (offset) for struct member 'shiftx'.
|
static long[] |
__DNA__FIELD__shifty
Field descriptor (offset) for struct member 'shifty'.
|
static long[] |
__DNA__FIELD__stereo
Field descriptor (offset) for struct member 'stereo'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__YF_dofdist
Field descriptor (offset) for struct member 'YF_dofdist'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Camera.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
Camera(Camera that) |
|
Camera(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<Camera> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
float |
getClipend()
Get method for struct member 'clipend'.
|
float |
getClipsta()
Get method for struct member 'clipsta'.
|
CPointer<BlenderObject> |
getDof_ob()
Get method for struct member 'dof_ob'.
|
float |
getDrawsize()
Get method for struct member 'drawsize'.
|
byte |
getDtx()
Get method for struct member 'dtx'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
GPUDOFSettings |
getGpu_dof()
Get method for struct member 'gpu_dof'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<Ipo> |
getIpo()
Deprecated.
Deprecatedold animation system, deprecated for 2.5
|
float |
getLens()
Get method for struct member 'lens'.
|
float |
getOrtho_scale()
Get method for struct member 'ortho_scale'.
|
CArrayFacade<java.lang.Byte> |
getPad()
Get method for struct member 'pad'.
|
float |
getPassepartalpha()
Get method for struct member 'passepartalpha'.
|
byte |
getSensor_fit()
Get method for struct member 'sensor_fit'.
|
float |
getSensor_x()
Get method for struct member 'sensor_x'.
|
float |
getSensor_y()
Get method for struct member 'sensor_y'.
|
float |
getShiftx()
Get method for struct member 'shiftx'.
|
float |
getShifty()
Get method for struct member 'shifty'.
|
CameraStereoSettings |
getStereo()
Get method for struct member 'stereo'.
|
byte |
getType()
Get method for struct member 'type'.
|
float |
getYF_dofdist()
Get method for struct member 'YF_dofdist'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setClipend(float clipend)
Set method for struct member 'clipend'.
|
void |
setClipsta(float clipsta)
Set method for struct member 'clipsta'.
|
void |
setDof_ob(CPointer<BlenderObject> dof_ob)
Set method for struct member 'dof_ob'.
|
void |
setDrawsize(float drawsize)
Set method for struct member 'drawsize'.
|
void |
setDtx(byte dtx)
Set method for struct member 'dtx'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setGpu_dof(GPUDOFSettings gpu_dof)
Set method for struct member 'gpu_dof'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setIpo(CPointer<Ipo> ipo)
Deprecated.
Deprecatedold animation system, deprecated for 2.5
|
void |
setLens(float lens)
Set method for struct member 'lens'.
|
void |
setOrtho_scale(float ortho_scale)
Set method for struct member 'ortho_scale'.
|
void |
setPad(CArrayFacade<java.lang.Byte> pad)
Set method for struct member 'pad'.
|
void |
setPassepartalpha(float passepartalpha)
Set method for struct member 'passepartalpha'.
|
void |
setSensor_fit(byte sensor_fit)
Set method for struct member 'sensor_fit'.
|
void |
setSensor_x(float sensor_x)
Set method for struct member 'sensor_x'.
|
void |
setSensor_y(float sensor_y)
Set method for struct member 'sensor_y'.
|
void |
setShiftx(float shiftx)
Set method for struct member 'shiftx'.
|
void |
setShifty(float shifty)
Set method for struct member 'shifty'.
|
void |
setStereo(CameraStereoSettings stereo)
Set method for struct member 'stereo'.
|
void |
setType(byte type)
Set method for struct member 'type'.
|
void |
setYF_dofdist(float YF_dofdist)
Set method for struct member 'YF_dofdist'.
|
__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 Camera.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
animation data (must be immediately after id for utilities to use it)
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__type
CAM_PERSP, CAM_ORTHO or CAM_PANO
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__type); CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__dtx
draw type extra
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__dtx); CPointer<Byte> p_dtx = 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:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__passepartalpha
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__passepartalpha); CPointer<Float> p_passepartalpha = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__clipsta
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__clipsta); CPointer<Float> p_clipsta = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__clipend
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__clipend); CPointer<Float> p_clipend = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__lens
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__lens); CPointer<Float> p_lens = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__ortho_scale
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__ortho_scale); CPointer<Float> p_ortho_scale = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__drawsize
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__drawsize); CPointer<Float> p_drawsize = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__sensor_x
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__sensor_x); CPointer<Float> p_sensor_x = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__sensor_y
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__sensor_y); CPointer<Float> p_sensor_y = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__shiftx
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__shiftx); CPointer<Float> p_shiftx = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__shifty
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__shifty); CPointer<Float> p_shifty = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__YF_dofdist
yafray: dof params qdn: yafray var 'YF_dofdist' now enabled for defocus composite node as well. The name was not changed so that no other files need to be modified
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__YF_dofdist); CPointer<Float> p_YF_dofdist = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__ipo
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
old animation system, deprecated for 2.5
public static final long[] __DNA__FIELD__dof_ob
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__dof_ob); CPointer<CPointer<BlenderObject>> p_dof_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
public static final long[] __DNA__FIELD__gpu_dof
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__gpu_dof); CPointer<GPUDOFSettings> p_gpu_dof = p.cast(new Class[]{GPUDOFSettings.class});
public static final long[] __DNA__FIELD__sensor_fit
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__sensor_fit); CPointer<Byte> p_sensor_fit = 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:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__pad); CPointer<CArrayFacade<Byte>> p_pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__stereo
Stereo settings
This is how you get a reference on the corresponding field in the struct:
Camera camera = ...; CPointer<Object> p = camera.__dna__addressof(Camera.__DNA__FIELD__stereo); CPointer<CameraStereoSettings> p_stereo = p.cast(new Class[]{CameraStereoSettings.class});
public Camera(long __address, Block __block, BlockTable __blockTable)
protected Camera(Camera that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<AnimData> getAdt() throws java.io.IOException
animation data (must be immediately after id for utilities to use it)
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
animation data (must be immediately after id for utilities to use it)
java.io.IOException
__DNA__FIELD__adt
public byte getType() throws java.io.IOException
CAM_PERSP, CAM_ORTHO or CAM_PANO
java.io.IOException
__DNA__FIELD__type
public void setType(byte type) throws java.io.IOException
CAM_PERSP, CAM_ORTHO or CAM_PANO
java.io.IOException
__DNA__FIELD__type
public byte getDtx() throws java.io.IOException
draw type extra
java.io.IOException
__DNA__FIELD__dtx
public void setDtx(byte dtx) throws java.io.IOException
draw type extra
java.io.IOException
__DNA__FIELD__dtx
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 float getPassepartalpha() throws java.io.IOException
java.io.IOException
__DNA__FIELD__passepartalpha
public void setPassepartalpha(float passepartalpha) throws java.io.IOException
java.io.IOException
__DNA__FIELD__passepartalpha
public float getClipsta() throws java.io.IOException
java.io.IOException
__DNA__FIELD__clipsta
public void setClipsta(float clipsta) throws java.io.IOException
java.io.IOException
__DNA__FIELD__clipsta
public float getClipend() throws java.io.IOException
java.io.IOException
__DNA__FIELD__clipend
public void setClipend(float clipend) throws java.io.IOException
java.io.IOException
__DNA__FIELD__clipend
public float getLens() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lens
public void setLens(float lens) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lens
public float getOrtho_scale() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ortho_scale
public void setOrtho_scale(float ortho_scale) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ortho_scale
public float getDrawsize() throws java.io.IOException
java.io.IOException
__DNA__FIELD__drawsize
public void setDrawsize(float drawsize) throws java.io.IOException
java.io.IOException
__DNA__FIELD__drawsize
public float getSensor_x() throws java.io.IOException
java.io.IOException
__DNA__FIELD__sensor_x
public void setSensor_x(float sensor_x) throws java.io.IOException
java.io.IOException
__DNA__FIELD__sensor_x
public float getSensor_y() throws java.io.IOException
java.io.IOException
__DNA__FIELD__sensor_y
public void setSensor_y(float sensor_y) throws java.io.IOException
java.io.IOException
__DNA__FIELD__sensor_y
public float getShiftx() throws java.io.IOException
java.io.IOException
__DNA__FIELD__shiftx
public void setShiftx(float shiftx) throws java.io.IOException
java.io.IOException
__DNA__FIELD__shiftx
public float getShifty() throws java.io.IOException
java.io.IOException
__DNA__FIELD__shifty
public void setShifty(float shifty) throws java.io.IOException
java.io.IOException
__DNA__FIELD__shifty
public float getYF_dofdist() throws java.io.IOException
yafray: dof params qdn: yafray var 'YF_dofdist' now enabled for defocus composite node as well. The name was not changed so that no other files need to be modified
java.io.IOException
__DNA__FIELD__YF_dofdist
public void setYF_dofdist(float YF_dofdist) throws java.io.IOException
yafray: dof params qdn: yafray var 'YF_dofdist' now enabled for defocus composite node as well. The name was not changed so that no other files need to be modified
java.io.IOException
__DNA__FIELD__YF_dofdist
public CPointer<Ipo> getIpo() throws java.io.IOException
old animation system, deprecated for 2.5
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(CPointer<Ipo> ipo) throws java.io.IOException
old animation system, deprecated for 2.5
java.io.IOException
__DNA__FIELD__ipo
public CPointer<BlenderObject> getDof_ob() throws java.io.IOException
java.io.IOException
__DNA__FIELD__dof_ob
public void setDof_ob(CPointer<BlenderObject> dof_ob) throws java.io.IOException
java.io.IOException
__DNA__FIELD__dof_ob
public GPUDOFSettings getGpu_dof() throws java.io.IOException
java.io.IOException
__DNA__FIELD__gpu_dof
public void setGpu_dof(GPUDOFSettings gpu_dof) throws java.io.IOException
java.io.IOException
__DNA__FIELD__gpu_dof
public byte getSensor_fit() throws java.io.IOException
java.io.IOException
__DNA__FIELD__sensor_fit
public void setSensor_fit(byte sensor_fit) throws java.io.IOException
java.io.IOException
__DNA__FIELD__sensor_fit
public CArrayFacade<java.lang.Byte> getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(CArrayFacade<java.lang.Byte> pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public CameraStereoSettings getStereo() throws java.io.IOException
Stereo settings
java.io.IOException
__DNA__FIELD__stereo
public void setStereo(CameraStereoSettings stereo) throws java.io.IOException
Stereo settings
java.io.IOException
__DNA__FIELD__stereo