Пример #1
0
 public Camera(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(Camera));
     handle = Camera_Camera((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #2
0
 public DebugRenderer(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(DebugRenderer));
     handle = DebugRenderer_DebugRenderer((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #3
0
 public ParticleEmitter(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(ParticleEmitter));
     handle = ParticleEmitter_ParticleEmitter((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #4
0
 public ShaderPrecache(Context context, string fileName) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(ShaderPrecache));
     handle = ShaderPrecache_ShaderPrecache((object)context == null ? IntPtr.Zero : context.Handle, fileName);
     Runtime.RegisterObject(this);
 }
Пример #5
0
 public ConstantBuffer(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(ConstantBuffer));
     handle = ConstantBuffer_ConstantBuffer((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #6
0
 public BillboardSet(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(BillboardSet));
     handle = BillboardSet_BillboardSet((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #7
0
 public Input(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(Input));
     handle = Input_Input((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #8
0
 public View(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(View));
     handle = View_View((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #9
0
 public RenderSurface(Texture parentTexture) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(RenderSurface));
     handle = RenderSurface_RenderSurface((object)parentTexture == null ? IntPtr.Zero : parentTexture.Handle);
     Runtime.RegisterObject(this);
 }
Пример #10
0
 public ValueAnimationInfo(Urho.UrhoObject target, ValueAnimation animation, WrapMode wrapMode, float speed) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(ValueAnimationInfo));
     handle = ValueAnimationInfo_ValueAnimationInfo0((object)target == null ? IntPtr.Zero : target.Handle, (object)animation == null ? IntPtr.Zero : animation.Handle, wrapMode, speed);
     Runtime.RegisterObject(this);
 }
Пример #11
0
 public ShaderParameterAnimationInfo(Material material, string name, ValueAnimation attributeAnimation, WrapMode wrapMode, float speed) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(ShaderParameterAnimationInfo));
     handle = ShaderParameterAnimationInfo_ShaderParameterAnimationInfo((object)material == null ? IntPtr.Zero : material.Handle, name, (object)attributeAnimation == null ? IntPtr.Zero : attributeAnimation.Handle, wrapMode, speed);
     Runtime.RegisterObject(this);
 }
Пример #12
0
 public RibbonTrail(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(RibbonTrail));
     handle = RibbonTrail_RibbonTrail((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #13
0
 public Skybox(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(Skybox));
     handle = Skybox_Skybox((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #14
0
 public VertexBuffer(Context context, bool forceHeadless) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(VertexBuffer));
     handle = VertexBuffer_VertexBuffer((object)context == null ? IntPtr.Zero : context.Handle, forceHeadless);
     Runtime.RegisterObject(this);
 }
Пример #15
0
 public Material(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(Material));
     handle = Material_Material((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #16
0
 public Pass(string passName) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(Pass));
     handle = Pass_Pass(passName);
     Runtime.RegisterObject(this);
 }
Пример #17
0
 public Terrain(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(Terrain));
     handle = Terrain_Terrain((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #18
0
 public AnimatedModel(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(AnimatedModel));
     handle = AnimatedModel_AnimatedModel((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #19
0
 public SplinePath(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(SplinePath));
     handle = SplinePath_SplinePath((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #20
0
 public Octree(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(Octree));
     handle = Octree_Octree((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #21
0
 public ObjectAnimation(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(ObjectAnimation));
     handle = ObjectAnimation_ObjectAnimation((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #22
0
 public CustomGeometry(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(CustomGeometry));
     handle = CustomGeometry_CustomGeometry((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #23
0
 public WorkQueue(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(WorkQueue));
     handle = WorkQueue_WorkQueue((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #24
0
 public UnknownComponent(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(UnknownComponent));
     handle = UnknownComponent_UnknownComponent((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }
Пример #25
0
 public ShaderVariation(Shader owner, ShaderType type) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(ShaderVariation));
     handle = ShaderVariation_ShaderVariation((object)owner == null ? IntPtr.Zero : owner.Handle, type);
     Runtime.RegisterObject(this);
 }
Пример #26
0
 public StaticModelGroup(Context context) : base(UrhoObjectFlag.Empty)
 {
     Runtime.Validate(typeof(StaticModelGroup));
     handle = StaticModelGroup_StaticModelGroup((object)context == null ? IntPtr.Zero : context.Handle);
     Runtime.RegisterObject(this);
 }