Ejemplo n.º 1
0
 public virtual void Execute(GameObjectReference objRef)
 {
 }
Ejemplo n.º 2
0
 public override Matrix GetLightVolumeWVP(Cell c, GameObjectReference objRef)
 {
     return(GetLightVolumeWorldMatrix(c, objRef) * Camera.ViewMatrix * Camera.ProjectionMatrix);
 }
Ejemplo n.º 3
0
 public virtual void UnAssignScript(GameObjectReference objRef)
 {
 }
Ejemplo n.º 4
0
 public Matrix GetLightVolumeMatrix(Cell c, GameObjectReference objRef)
 {
     return(Matrix.Scaling(objRef.BoxDepth, objRef.BoxHeight, objRef.BoxWidth) * Matrix.Translation(WorldSpace.GetRealWorldPos(objRef.Position, c)));
 }
Ejemplo n.º 5
0
 public override Matrix GetLightVolumeWVP(Cell c, GameObjectReference objRef)
 {
     return(GetLightVolumeMatrix(c, objRef.Position, objRef.EndPoint, objRef.MaxRange * 1.5f) * Camera.ViewMatrix * Camera.ProjectionMatrix);
 }
Ejemplo n.º 6
0
 public abstract Matrix GetLightVolumeWVP(Cell c, GameObjectReference objRef);
Ejemplo n.º 7
0
 public abstract void RenderDebugLightVolume(GameObjectReference objRef, Cell c, Vector4 GridColor);