public virtual void Execute(GameObjectReference objRef) { }
public override Matrix GetLightVolumeWVP(Cell c, GameObjectReference objRef) { return(GetLightVolumeWorldMatrix(c, objRef) * Camera.ViewMatrix * Camera.ProjectionMatrix); }
public virtual void UnAssignScript(GameObjectReference objRef) { }
public Matrix GetLightVolumeMatrix(Cell c, GameObjectReference objRef) { return(Matrix.Scaling(objRef.BoxDepth, objRef.BoxHeight, objRef.BoxWidth) * Matrix.Translation(WorldSpace.GetRealWorldPos(objRef.Position, c))); }
public override Matrix GetLightVolumeWVP(Cell c, GameObjectReference objRef) { return(GetLightVolumeMatrix(c, objRef.Position, objRef.EndPoint, objRef.MaxRange * 1.5f) * Camera.ViewMatrix * Camera.ProjectionMatrix); }
public abstract Matrix GetLightVolumeWVP(Cell c, GameObjectReference objRef);
public abstract void RenderDebugLightVolume(GameObjectReference objRef, Cell c, Vector4 GridColor);