Esempio n. 1
0
 public static void Destroy(WrapperObject Object)
 {
     if (Object.OnDestroy())
     {
         objects.Remove(Object.pointer);
     }
 }
        public Transform(IntPtr Pointer) :
            base(Pointer)
        {
            IntPtr p = Transform_GetParent(Pointer);

            if (p != IntPtr.Zero)
            {
                parent = WrapperObject.GetObject <Transform>(p);
            }
        }
Esempio n. 3
0
 public Composite GetComposite(uint Index)
 {
     return(WrapperObject.GetObject <Composite>(Camera_GetComposite(Pointer, Index)));
 }
Esempio n. 4
0
 public Mesh GetMesh(string Name)
 {
     return(WrapperObject.GetObject <Mesh>(MeshResourcesManager_GetMesh(Name)));
 }
Esempio n. 5
0
 public Mesh GetMesh(Mesh.BasicShapes Shape)
 {
     return(WrapperObject.GetObject <Mesh>(MeshResourcesManager_GetBasicShapeMesh(Shape)));
 }
Esempio n. 6
0
 public Texture GetTexture(string Name)
 {
     return(WrapperObject.GetObject <Texture>(TextureResourcesManager_GetTexture(Name)));
 }
 public Material CreateMaterial(string Name)
 {
     return(WrapperObject.GetObject <Material>(MaterialResourcesManager_CreateMaterial(Name)));
 }
 public Composite CreateComposite(string Name)
 {
     return(WrapperObject.GetObject <Composite>(CompositeResourcesManager_CreateComposite(Name)));
 }
Esempio n. 9
0
 public Texture GetTextureStage(byte Stage)
 {
     return(WrapperObject.GetObject <Texture>(Pass_GetTextureStage(Pointer, Stage)));
 }
Esempio n. 10
0
 private Component GetComponentCore(string TypeName, FindComponentOption Option)
 {
     return(WrapperObject.GetObject <Component>(GameObject_GetComponent(Pointer, TypeName, Option)));
 }
Esempio n. 11
0
 public Pass GetPass(uint Index)
 {
     return(WrapperObject.GetObject <Pass>(Material_GetPass(Pointer, Index)));
 }
 public CompositePass GetPass(uint Index)
 {
     return(WrapperObject.GetObject <CompositePass>(Composite_GetPass(Pointer, Index)));
 }