public static extern void VisualBase_GetNaturalSize(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VisualBase_SetDepthIndex")]
- public static extern void VisualBase_SetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2);
+ public static extern void VisualBase_SetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VisualBase_GetDepthIndex")]
- public static extern float VisualBase_GetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1);
+ public static extern int VisualBase_GetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VisualBase_CreatePropertyMap")]
public static extern void VisualBase_CreatePropertyMap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
/// <summary>
/// the depth index of this visual.
/// </summary>
- public float DepthIndex
+ public int DepthIndex
{
set
{
return GetDepthIndex();
}
}
- internal void SetDepthIndex(float index)
+ internal void SetDepthIndex(int index)
{
NDalicPINVOKE.VisualBase_SetDepthIndex(swigCPtr, index);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- internal float GetDepthIndex()
+ internal int GetDepthIndex()
{
- float ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);
+ int ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private PropertyMap _visualTransformMap = null;
- private float? _depthIndex = null;
+ private int? _depthIndex = null;
protected PropertyMap _outputVisualMap = null;
internal string Name
/// By default, the depth index is 0.<br>
/// Optional.
/// </summary>
- public float DepthIndex
+ public int DepthIndex
{
get
{
- return _depthIndex ?? (0.0f);
+ return _depthIndex ?? (0);
}
set
{