public class Sandbox.GameTransform
Methods
Showing 4 methods
public void ClearInterpolation()
Clear any interpolation and force us to reach our final destination immediately. If we own this object we'll tell other clients to clear interpolation too when they receive the next network update from us.
public void ClearLerp()Obsolete
Obsolete: Use ClearInterpolation
public System.IDisposable DisableProxy()
Disable the proxy temporarily
public void LerpTo(Transform target, float frac)
Performs linear interpolation between this and the given transform.
Parameters
target: The destination transform.frac: Fraction, where 0 would return this, 0.5 would return a point between this and given transform, and 1 would return the given transform.
No results match this filter.
Properties
Showing 11 properties
public Sandbox.GameObject Sandbox.GameTransform.GameObject { get; set; }
public Transform Sandbox.GameTransform.InterpolatedLocal { get; set; }
The current interpolated local transform.
public Transform Sandbox.GameTransform.Local { get; set; }
The current local transform.
public Vector3 Sandbox.GameTransform.LocalPosition { get; set; }Obsolete
Position in local coordinates.
Obsolete: Use LocalPosition instead of Transform.LocalPosition
public Rotation Sandbox.GameTransform.LocalRotation { get; set; }Obsolete
Rotation in local coordinates.
Obsolete: Use LocalRotation instead of Transform.LocalRotation
public Vector3 Sandbox.GameTransform.LocalScale { get; set; }Obsolete
Scale in local coordinates.
Obsolete: Use LocalScale instead of Transform.LocalScale
public Vector3 Sandbox.GameTransform.Position { get; set; }Obsolete
The position in world coordinates.
Obsolete: Use WorldPosition instead of Transform.Position
public Sandbox.TransformProxy Sandbox.GameTransform.Proxy { get; set; }
public Rotation Sandbox.GameTransform.Rotation { get; set; }Obsolete
The rotation in world coordinates.
Obsolete: Use WorldRotation instead of Transform.Rotation
public Vector3 Sandbox.GameTransform.Scale { get; set; }Obsolete
The scale in world coordinates.
Obsolete: Use WorldScale instead of Transform.Scale
public Transform Sandbox.GameTransform.World { get; set; }
The current world transform.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.GameTransform |