C# Class Radegast.Rendering.Camera

Represents camera object
Mostrar archivo Open project: justasabc/UnityOpenSimClient Class Usage Examples

Public Properties

Property Type Description
Far float
Manual bool
RenderFocalPoint System.Vector3
RenderPosition System.Vector3
TimeToTarget float
Zoom float

Public Methods

Method Description
EndMove ( ) : void
LookAt ( ) : void

Sets the world in perspective of the camera

Modify ( ) : void
MoveToTarget ( float delta ) : void
Pan ( float deltaX, float deltaY ) : void
Rotate ( float delta, bool horizontal ) : void
Step ( float time ) : void

Private Methods

Method Description
Interpolate ( System.Vector3 start, System.Vector3 end, float fraction ) : System.Vector3
Step2 ( float time ) : void

Method Details

EndMove() public method

public EndMove ( ) : void
return void

LookAt() public method

Sets the world in perspective of the camera
public LookAt ( ) : void
return void

Modify() public method

public Modify ( ) : void
return void

MoveToTarget() public method

public MoveToTarget ( float delta ) : void
delta float
return void

Pan() public method

public Pan ( float deltaX, float deltaY ) : void
deltaX float
deltaY float
return void

Rotate() public method

public Rotate ( float delta, bool horizontal ) : void
delta float
horizontal bool
return void

Step() public method

public Step ( float time ) : void
time float
return void

Property Details

Far public_oe property

Draw distance
public float Far
return float

Manual public_oe property

Indicates that there was manual camera movement, stop tracking objects
public bool Manual
return bool

RenderFocalPoint public_oe property

public Vector3,System RenderFocalPoint
return System.Vector3

RenderPosition public_oe property

public Vector3,System RenderPosition
return System.Vector3

TimeToTarget public_oe property

public float TimeToTarget
return float

Zoom public_oe property

Zoom level
public float Zoom
return float