C# Class GameEntities.DynamicCollision

Represents creation of dynamic obstacles. By means of this class it is possible to set limiting area of movings for map objects.
Inheritance: MapObject
ファイルを表示 Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Property Type Description
UpdatePhysicsModel void

Protected Methods

Method Description
OnEditorSelectionDebugRender ( Camera camera, bool bigBorder, bool simpleGeometry ) : void
OnGetEditorSelectionByRay ( Ray ray, Vec3 &pos, float &priority ) : bool
OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

OnRender ( Camera camera ) : void

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).

OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void

Overridden from Engine.MapSystem.MapObject.OnSetTransform(ref Vec3,ref Quat,ref Vec3).

Private Methods

Method Description
UpdatePhysicsModel ( ) : void

Method Details

OnEditorSelectionDebugRender() protected method

protected OnEditorSelectionDebugRender ( Camera camera, bool bigBorder, bool simpleGeometry ) : void
camera Camera
bigBorder bool
simpleGeometry bool
return void

OnGetEditorSelectionByRay() protected method

protected OnGetEditorSelectionByRay ( Ray ray, Vec3 &pos, float &priority ) : bool
ray Ray
pos Vec3
priority float
return bool

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnRender() protected method

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).
protected OnRender ( Camera camera ) : void
camera Camera
return void

OnSetTransform() protected method

Overridden from Engine.MapSystem.MapObject.OnSetTransform(ref Vec3,ref Quat,ref Vec3).
protected OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
pos Vec3
rot Quat
scl Vec3
return void