C# Class Radegast.Rendering.Camera

Represents camera object
Afficher le fichier Open project: justasabc/UnityOpenSimClient Class Usage Examples

Méthodes publiques

Свойство Type Description
Far float
Manual bool
RenderFocalPoint System.Vector3
RenderPosition System.Vector3
TimeToTarget float
Zoom float

Méthodes publiques

Méthode 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

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

Method Details

EndMove() public méthode

public EndMove ( ) : void
Résultat void

LookAt() public méthode

Sets the world in perspective of the camera
public LookAt ( ) : void
Résultat void

Modify() public méthode

public Modify ( ) : void
Résultat void

MoveToTarget() public méthode

public MoveToTarget ( float delta ) : void
delta float
Résultat void

Pan() public méthode

public Pan ( float deltaX, float deltaY ) : void
deltaX float
deltaY float
Résultat void

Rotate() public méthode

public Rotate ( float delta, bool horizontal ) : void
delta float
horizontal bool
Résultat void

Step() public méthode

public Step ( float time ) : void
time float
Résultat void

Property Details

Far public_oe property

Draw distance
public float Far
Résultat float

Manual public_oe property

Indicates that there was manual camera movement, stop tracking objects
public bool Manual
Résultat bool

RenderFocalPoint public_oe property

public Vector3,System RenderFocalPoint
Résultat System.Vector3

RenderPosition public_oe property

public Vector3,System RenderPosition
Résultat System.Vector3

TimeToTarget public_oe property

public float TimeToTarget
Résultat float

Zoom public_oe property

Zoom level
public float Zoom
Résultat float