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); }
public BaseObject Create() { RaySceneQueryResultSimple emptyInstance = new RaySceneQueryResultSimple(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }