s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
GameTransform
chevron_left Classes
class
GameTransform

Fields

crop_dinOnTransformChanged

Properties

data_objectGameObjectdata_objectInterpolatedLocaldata_objectLocalremove_circleLocalPositionremove_circleLocalRotationremove_circleLocalScaleremove_circlePositiondata_objectProxyremove_circleRotationremove_circleScaledata_objectWorld

Methods

functionsClearInterpolationremove_circleClearLerpfunctionsDisableProxyfunctionsLerpTo
menu
GameTransform
class Sandbox .
Sandbox.Engine

crop_din Fields 1

OnTransformChanged
Action
Called when the transform is changed

data_object Properties 11

GameObject
GameObject
InterpolatedLocal
Transform
The current interpolated local transform.
Local
Transform
The current local transform.
LocalPosition
obsoleteVector3
Position in local coordinates.
LocalRotation
obsoleteRotation
Rotation in local coordinates.
LocalScale
obsoleteVector3
Scale in local coordinates.
Position
obsoleteVector3
The position in world coordinates.
Proxy
TransformProxy
Rotation
obsoleteRotation
The rotation in world coordinates.
Scale
obsoleteVector3
The scale in world coordinates.
World
Transform
The current world transform.

functions Methods 4

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.
ClearLerp ()
obsolete
DisableProxy ()
IDisposable
Disable the proxy temporarily
LerpTo (target, frac)
Performs linear interpolation between this and the given transform.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter