public static DynamicDistanceLodStrategy FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } DynamicDistanceLodStrategy obj = baseObj as DynamicDistanceLodStrategy; if (object.Equals(obj, null)) { obj = new DynamicDistanceLodStrategy(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CDynamicDistanceLodStrategy"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { DynamicDistanceLodStrategy emptyInstance = new DynamicDistanceLodStrategy(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }