예제 #1
0
                public static RaySceneQueryResultSimple FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    RaySceneQueryResultSimple obj = baseObj as  RaySceneQueryResultSimple;

                    if (object.Equals(obj, null))
                    {
                        obj = new RaySceneQueryResultSimple(CreatedWhenConstruct.CWC_NotToCreate);
                        obj.BindNativeObject(baseObj.NativeObject, "RaySceneQueryResultSimple");
                        obj.IncreaseCast();
                    }

                    return(obj);
                }
예제 #2
0
                public BaseObject Create()
                {
                    RaySceneQueryResultSimple emptyInstance = new RaySceneQueryResultSimple(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }