namespace Dali {
-public class CameraActor : Actor {
+ public class Camera : Animatable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- internal CameraActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CameraActor_SWIGUpcast(cPtr), cMemoryOwn) {
+ internal Camera(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CameraActor_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CameraActor obj) {
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Camera obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
- ~CameraActor() {
+ ~Camera() {
DisposeQueue.Instance.Add(this);
}
- public override void Dispose() {
+ public virtual void Dispose() {
if (!Stage.IsInstalled()) {
DisposeQueue.Instance.Add(this);
return;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
- base.Dispose();
}
}
}
- public CameraActor () : this (NDalicPINVOKE.CameraActor_New__SWIG_0(), true) {
+ public Camera () : this (NDalicPINVOKE.CameraActor_New__SWIG_0(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public CameraActor (Vector2 size) : this (NDalicPINVOKE.CameraActor_New__SWIG_1(Vector2.getCPtr(size)), true) {
+ public Camera (Vector2 size) : this (NDalicPINVOKE.CameraActor_New__SWIG_1(Vector2.getCPtr(size)), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public new static CameraActor DownCast(BaseHandle handle) {
- CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_DownCast(BaseHandle.getCPtr(handle)), true);
+ public new static Camera DownCast(BaseHandle handle) {
+ Camera ret = new Camera(NDalicPINVOKE.CameraActor_DownCast(BaseHandle.getCPtr(handle)), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public CameraActor(CameraActor copy) : this(NDalicPINVOKE.new_CameraActor__SWIG_1(CameraActor.getCPtr(copy)), true) {
+ public Camera(Camera copy) : this(NDalicPINVOKE.new_CameraActor__SWIG_1(Camera.getCPtr(copy)), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public CameraActor Assign(CameraActor rhs) {
- CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_Assign(swigCPtr, CameraActor.getCPtr(rhs)), false);
+ public Camera Assign(Camera rhs) {
+ Camera ret = new Camera(NDalicPINVOKE.CameraActor_Assign(swigCPtr, Camera.getCPtr(rhs)), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
get
{
string temp;
- GetProperty( CameraActor.Property.TYPE).Get( out temp );
+ GetProperty( Camera.Property.TYPE).Get( out temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.TYPE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.TYPE, new Dali.Property.Value( value ) );
}
}
public string ProjectionMode
get
{
string temp;
- GetProperty( CameraActor.Property.PROJECTION_MODE).Get( out temp );
+ GetProperty( Camera.Property.PROJECTION_MODE).Get( out temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.PROJECTION_MODE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.PROJECTION_MODE, new Dali.Property.Value( value ) );
}
}
public float FieldOfView
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.FIELD_OF_VIEW).Get( ref temp );
+ GetProperty( Camera.Property.FIELD_OF_VIEW).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.FIELD_OF_VIEW, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.FIELD_OF_VIEW, new Dali.Property.Value( value ) );
}
}
public float AspectRatio
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.ASPECT_RATIO).Get( ref temp );
+ GetProperty( Camera.Property.ASPECT_RATIO).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.ASPECT_RATIO, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.ASPECT_RATIO, new Dali.Property.Value( value ) );
}
}
public float NearPlaneDistance
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.NEAR_PLANE_DISTANCE).Get( ref temp );
+ GetProperty( Camera.Property.NEAR_PLANE_DISTANCE).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.NEAR_PLANE_DISTANCE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.NEAR_PLANE_DISTANCE, new Dali.Property.Value( value ) );
}
}
public float FarPlaneDistance
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.FAR_PLANE_DISTANCE).Get( ref temp );
+ GetProperty( Camera.Property.FAR_PLANE_DISTANCE).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.FAR_PLANE_DISTANCE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.FAR_PLANE_DISTANCE, new Dali.Property.Value( value ) );
}
}
public float LeftPlaneDistance
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.LEFT_PLANE_DISTANCE).Get( ref temp );
+ GetProperty( Camera.Property.LEFT_PLANE_DISTANCE).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.LEFT_PLANE_DISTANCE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.LEFT_PLANE_DISTANCE, new Dali.Property.Value( value ) );
}
}
public float RightPlaneDistance
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.RIGHT_PLANE_DISTANCE).Get( ref temp );
+ GetProperty( Camera.Property.RIGHT_PLANE_DISTANCE).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.RIGHT_PLANE_DISTANCE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.RIGHT_PLANE_DISTANCE, new Dali.Property.Value( value ) );
}
}
public float TopPlaneDistance
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.TOP_PLANE_DISTANCE).Get( ref temp );
+ GetProperty( Camera.Property.TOP_PLANE_DISTANCE).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.TOP_PLANE_DISTANCE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.TOP_PLANE_DISTANCE, new Dali.Property.Value( value ) );
}
}
public float BottomPlaneDistance
get
{
float temp = 0.0f;
- GetProperty( CameraActor.Property.BOTTOM_PLANE_DISTANCE).Get( ref temp );
+ GetProperty( Camera.Property.BOTTOM_PLANE_DISTANCE).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.BOTTOM_PLANE_DISTANCE, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.BOTTOM_PLANE_DISTANCE, new Dali.Property.Value( value ) );
}
}
public Vector3 TargetPosition
get
{
Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
- GetProperty( CameraActor.Property.TARGET_POSITION).Get( temp );
+ GetProperty( Camera.Property.TARGET_POSITION).Get( temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.TARGET_POSITION, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.TARGET_POSITION, new Dali.Property.Value( value ) );
}
}
public Matrix ProjectionMatrix
get
{
Matrix temp = new Matrix();
- GetProperty( CameraActor.Property.PROJECTION_MATRIX).Get( temp );
+ GetProperty( Camera.Property.PROJECTION_MATRIX).Get( temp );
return temp;
}
} public Matrix ViewMatrix
get
{
Matrix temp = new Matrix();
- GetProperty( CameraActor.Property.VIEW_MATRIX).Get( temp );
+ GetProperty( Camera.Property.VIEW_MATRIX).Get( temp );
return temp;
}
} public bool InvertYAxis
get
{
bool temp = false;
- GetProperty( CameraActor.Property.INVERT_Y_AXIS).Get( ref temp );
+ GetProperty( Camera.Property.INVERT_Y_AXIS).Get( ref temp );
return temp;
}
set
{
- SetProperty( CameraActor.Property.INVERT_Y_AXIS, new Dali.Property.Value( value ) );
+ SetProperty( Camera.Property.INVERT_Y_AXIS, new Dali.Property.Value( value ) );
}
}