TerrainRegionModel
Package: Libraries.Game.Graphics.Worlds · Inherits from: Libraries.Game.Graphics.Worlds.TerrainPatch, Libraries.Game.Graphics.Model, Libraries.Game.Graphics.Worlds.Terrain, Libraries.Interface.Item3D, Libraries.Interface.Item, Libraries.Language.Object
A TerrainRegionModel draws one TerrainRegion. A WorldTerrain makes one for each region, so a large terrain is drawn as many smaller pieces. Each piece can be culled on its own, and a change to the ground only needs the pieces it touched rebuilt. It is a TerrainPatch, so it can also be what the physics engine collides with. When a WorldTerrain uses full collision, each region model has a collision shape for its whole region. When it uses dynamic collision, the region models only draw, and a TerrainCollision keeps small collision pieces near the player instead. The mesh covers its region's samples and reaches one sample into the next region along x and along z, where there is one, so neighboring pieces share their edges and there are no gaps between them. Normals are worked out from the TerrainData as well, across region edges, so the lighting matches where two pieces meet. In Terrain3D, drawing is done by Terrain3DMesher and collision by Terrain3DCollision.
Example Code
use Libraries.Game.Game
use Libraries.Game.Graphics.Worlds.TerrainData
use Libraries.Game.Graphics.Worlds.TerrainRegionModel
class Main is Game
action Main
StartGame()
end
action CreateGame
TerrainData data
data:AddRegion(0, 0)
TerrainRegionModel model
model:Build(data, data:GetRegion(0, 0), undefined, 4, false)
model:PlaceInWorld()
Add(model)
end
end
Actions
Build(Libraries.Game.Graphics.Worlds.TerrainData data, Libraries.Game.Graphics.Worlds.TerrainRegion region, Libraries.Game.Graphics.Texture texture, number textureRepeat, boolean withCollision)
This action builds the model's mesh, and its collision shape if asked, for one region. Call PlaceInWorld afterward, once physics has been set up, to place and scale the model to match the TerrainData's vertex spacing. Building again updates the mesh in place when the region's grid size and splat setting are unchanged. Otherwise it makes a new mesh, and the renderer cannot yet free the old one, so its memory stays in use.
Parameters
dataLibraries.Game.Graphics.Worlds.TerrainData: The heights of the whole terrain.regionLibraries.Game.Graphics.Worlds.TerrainRegion: The region this model draws.textureLibraries.Game.Graphics.Texture: The texture laid over the ground, or undefined for none.textureRepeatnumber: How far apart, in world units, the texture repeats.withCollisionboolean: True to give the model a collision shape for its whole region.
GetTerrainRegion()
This action returns the region this model draws.
Returns
Libraries.Game.Graphics.Worlds.TerrainRegion: The region, or undefined if the model has not been built.
HasCollisionShape()
This action returns true if the model has a collision shape for its whole region.
Returns
boolean: True if the model can be collided with.
NeedsRebuild()
This action returns true if the model must be rebuilt before it is shown again.
Returns
boolean: True if the model is out of date.
Rebuild(Libraries.Game.Graphics.Texture texture, number textureRepeat)
This action builds the model again from the current heights, after they have changed, and moves it to its new height. It keeps its physics settings, and keeps or leaves out its collision shape as it was built. It must have been built with Build first. A rebuild updates the mesh in place when the region's grid size and splat setting are unchanged, which is the usual case for edits. Otherwise it makes a new mesh, and the old one is freed.
Parameters
textureLibraries.Game.Graphics.Texture: The texture laid over the ground, or undefined for none.textureRepeatnumber: How far apart, in world units, the texture repeats.
SetInPlaceUpdates(boolean inPlace)
This action sets whether rebuilding may update the existing mesh in place, rather than making a new one. It is on by default.
Parameters
inPlaceboolean: True to update meshes in place when possible.
SetNeedsRebuild(boolean rebuild)
This action marks whether the ground this model draws has changed while it was out of the game, so it must be rebuilt before it is shown again.
Parameters
rebuildboolean: True if the model must be rebuilt.
SetSplatArea(integer startX, integer startZ, integer width, integer depth)
This action sets which samples the terrain's splat texture covers, so the model's texture coordinates point at the right pixels. It takes effect the next time the model is built.
Parameters
startXinteger: The first sample along x the splat texture covers.startZinteger: The first sample along z the splat texture covers.widthinteger: How many samples the splat texture covers along x.depthinteger: How many samples the splat texture covers along z.
SetTerrainRegion(Libraries.Game.Graphics.Worlds.TerrainRegion region)
This action sets the region this model draws, without rebuilding it. When a streamed region is loaded again, it is a new TerrainRegion at the same location, and the model built for it before can be reused.
Parameters
regionLibraries.Game.Graphics.Worlds.TerrainRegion: The region, at the same location as before.
SetUsesSplat(boolean splat)
This action sets whether the model is drawn with texture splatting. It takes effect the next time the model is built.
Parameters
splatboolean: True to draw with texture splatting.
UsesSplat()
This action returns true if the model is drawn with texture splatting.
Returns
boolean: True if the model uses texture splatting.
WasBuiltInPlace()
This action returns true if the last build updated the existing mesh in place, or false if it loaded a new mesh.
Returns
boolean: True if the last build was an update in place.
Inherited Actions
110 actions from Libraries.Game.Graphics.Model
- CalculateBoundingBox()
- CalculateBoundingBox(Libraries.Game.BoundingBox box)
- CastsShadows()
- ClearCopies()
- Dispose()
- Draw(Libraries.Game.Graphics.Painter3D painter)
- EnableTransparency(boolean enable)
- ExtendBoundingBox(Libraries.Game.BoundingBox box)
- GetAnimation(integer index)
- GetAnimationState()
- GetAnimationsSize()
- GetAssetFile()
- GetBlueprintKey()
- GetColor(integer meshIndex)
- GetColor()
- GetCopyColors()
- GetCopyCount()
- GetCopyDrawingCache()
- GetCopyShades()
- GetCopyTransforms()
- GetCopyVersion()
- GetFileLights()
- GetFileLightsCastShadows()
- GetLoadLights()
- GetMeshCount()
- GetModelBlueprint()
- GetModelType()
- GetPartCount()
- GetPartName(integer part)
- GetRenderables(Libraries.Containers.Array<Libraries.Game.Graphics.Renderable> renderables)
- GetResources()
- GetShaderData()
- GetShaderMapping()
- GetShaderProgram()
- HasAnimations()
- HasHiddenParts()
- HasTransparency()
- IsAnimating()
- IsPartShown(integer part)
- IsShadowOnly()
- Load(text fileName)
- Load(Libraries.Game.Graphics.Models.ModelBlueprint loader, Libraries.Compute.Matrix4 matrix)
- Load(Libraries.System.File file)
- Load(Libraries.Game.Graphics.Models.ModelBlueprint loader)
- LoadBox(number width, number height, number depth, Libraries.Game.Graphics.Drawable drawable)
- LoadBox(number width, number height, number depth, Libraries.Game.Graphics.Color color)
- LoadBox(number width, number height, number depth, text textureFile)
- LoadBox(number width, number height, number depth, Libraries.System.File textureFile)
- LoadBox(number width, number height, number depth, Libraries.Game.Graphics.Texture texture)
- LoadCylinder(number width, number height, number depth, Libraries.Game.Graphics.Drawable drawable)
- LoadCylinder(number width, number height, number depth, Libraries.Game.Graphics.Color color)
- LoadCylinder(number width, number height, number depth, integer divisions, Libraries.Game.Graphics.Drawable drawable)
- LoadCylinder(number width, number height, number depth, integer divisions, Libraries.System.File textureFile)
- LoadCylinder(number width, number height, number depth, Libraries.System.File textureFile)
- LoadCylinder(number width, number height, number depth, integer divisions, Libraries.Game.Graphics.Texture texture)
- LoadCylinder(number width, number height, number depth, Libraries.Game.Graphics.Texture texture)
- LoadCylinder(number width, number height, number depth, integer divisions, text textureFile)
- LoadCylinder(number width, number height, number depth, text textureFile)
- LoadCylinder(number width, number height, number depth, integer divisions, Libraries.Game.Graphics.Color color)
- LoadPlane(number width, number depth, text textureFile)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Drawable drawable, boolean doubleSided)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Color color, boolean doubleSided)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Texture texture, Libraries.Compute.Vector4 textureCoordinates)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Texture texture, Libraries.Compute.Vector4 textureCoordinates, boolean doubleSided)
- LoadPlane(number width, number depth, Libraries.System.File textureFile, boolean doubleSided)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Texture texture, Libraries.Compute.Vector4 textureCoordinates, boolean doubleSided, boolean unlit, boolean blended)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Texture texture)
- LoadPlane(number width, number depth, text textureFile, boolean doubleSided)
- LoadPlane(number width, number depth, Libraries.System.File textureFile)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Texture texture, boolean doubleSided)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Color color)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Drawable drawable)
- LoadPlane(number width, number depth, Libraries.Game.Graphics.Texture texture, Libraries.Compute.Vector4 textureCoordinates, boolean doubleSided, boolean unlit)
- LoadSphere(number width, number height, number depth, integer horizontalDivisions, integer verticalDivisions, Libraries.Game.Graphics.Texture texture)
- LoadSphere(number width, number height, number depth, Libraries.Game.Graphics.Texture texture)
- LoadSphere(number width, number height, number depth, text textureFile)
- LoadSphere(number width, number height, number depth, integer horizontalDivisions, integer verticalDivisions, text textureFile)
- LoadSphere(number width, number height, number depth, integer horizontalDivisions, integer verticalDivisions, Libraries.System.File textureFile)
- LoadSphere(number width, number height, number depth, Libraries.Game.Graphics.Color color)
- LoadSphere(number width, number height, number depth, integer horizontalDivisions, integer verticalDivisions, Libraries.Game.Graphics.Color color)
- LoadSphere(number width, number height, number depth, Libraries.System.File textureFile)
- LoadSphere(number width, number height, number depth, integer horizontalDivisions, integer verticalDivisions, Libraries.Game.Graphics.Drawable drawable)
- LoadSphere(number width, number height, number depth, Libraries.Game.Graphics.Drawable drawable)
- PauseAnimation()
- Print(Libraries.System.File file)
- Print(text path)
- Print(text path, Libraries.Fabrication.Profiles.Profile profile)
- ResumeAnimation()
- Scale(Libraries.Compute.Vector3 vector, boolean scaleChildren)
- SetAnimationState(Libraries.Game.Graphics.Models.Data.AnimationState animationState)
- SetCastsShadows(boolean castsShadows)
- SetColor(Libraries.Game.Graphics.Color color)
- SetColor(integer meshIndex, Libraries.Game.Graphics.Color color)
- SetCopies(Libraries.Containers.Number32BitArray transforms, Libraries.Containers.Number32BitArray shades)
- SetCopyColors(Libraries.Containers.Number32BitArray colors)
- SetCopyDrawingCache(Libraries.Language.Object cache)
- SetFileLightsCastShadows(boolean casts)
- SetLayer(Libraries.Game.Layer3D parentLayer)
- SetLoadLights(boolean load)
- SetPartShown(integer part, boolean shown)
- SetPartShown(text name, boolean shown)
- SetScale(number scaleX, number scaleY, number scaleZ, boolean scaleChildren)
- SetShaderData(Libraries.Language.Object shaderData)
- SetShaderMapping(Libraries.Game.Graphics.Shaders.ShaderMapping shaderMapping)
- SetShaderProgram(Libraries.Game.Graphics.Shaders.Programs.ShaderProgram shaderProgram)
- SetShadowOnly(boolean value)
- SetSway(number strength, number directionDegrees)
- StartAnimation(integer index)
- StopAnimation()
- UpdateAll(number seconds)
14 actions from Libraries.Game.Graphics.Worlds.Terrain
- FillAtPixel(integer x, integer y, Libraries.Containers.Array<Libraries.Compute.Vector3> vertices, Libraries.Game.BoundingBox box)
- GetRenderBounds(Libraries.Game.BoundingBox local)
- GetStickHeight()
- GetStickLength()
- GetStickWidth()
- GetTextureSplat()
- LoadHeightMap(Libraries.System.File file)
- LoadHeightMap(text path)
- LoadHeightMap(Libraries.Game.Graphics.PixelMap map, text key)
- Print(Libraries.System.File file, Libraries.Fabrication.Profiles.Profile profile)
- SetHeightScale(number stickHeight)
- SetStickDepth(number stickDepth)
- SetStickWidth(number stickWidth)
- SetTextureSplat(Libraries.Game.Graphics.Worlds.TextureSplat textureSplat)
13 actions from Libraries.Game.Graphics.Worlds.TerrainPatch
- ApplyCollisionShape()
- FillAtPixel(integer x, integer y, Libraries.Containers.Array<Libraries.Compute.Vector3> vertices, Libraries.Game.BoundingBox box, boolean leftTriangle)
- GetBaseHeight()
- GetFirstSampleX()
- GetFirstSampleZ()
- GetPatchHeight(integer column, integer row)
- GetPixelHeight()
- GetPixelWidth()
- GetTerrainData()
- GetTopHeight()
- IsAffectedBy(integer minimumX, integer minimumZ, integer maximumX, integer maximumZ)
- Measure(Libraries.Game.Graphics.Worlds.TerrainData data, integer firstX, integer firstZ, integer size)
- PlaceInWorld()
62 actions from Libraries.Interface.Item
- AddBehavior(Libraries.Interface.Behaviors.Behavior behavior)
- AddFocusListener(Libraries.Interface.Events.FocusListener listener)
- AddGestureListener(Libraries.Interface.Events.GestureListener listener)
- AddMouseListener(Libraries.Interface.Events.MouseListener listener)
- AddMouseMovementListener(Libraries.Interface.Events.MouseMovementListener listener)
- AddMouseWheelListener(Libraries.Interface.Events.MouseWheelListener listener)
- AddTouchListener(Libraries.Interface.Events.TouchListener listener)
- BeginCollision(Libraries.Interface.Item item)
- CancelBehaviors()
- DisposeAll()
- DisposeChildren()
- EmptyAll()
- EmptyChildren()
- FinishCollision(Libraries.Interface.Item item)
- Focus()
- GainedFocus(Libraries.Interface.Events.FocusEvent event)
- GetAccessibilityCode()
- GetAccessibilityRoleDescription()
- GetAccessibilityType()
- GetActiveDescendant()
- GetDescription()
- GetFocusListeners()
- GetGestureListeners()
- GetInputGroup()
- GetInputTable()
- GetMouseListeners()
- GetMouseMovementListeners()
- GetMouseWheelListeners()
- GetName()
- GetNextFocus()
- GetPreviousFocus()
- GetPropertiesSize()
- GetProperty(text key)
- GetPropertyKeyIterator()
- GetTouchListeners()
- HasProperties()
- HasProperty(text key)
- Hide()
- IsAcceptingMouseInput()
- IsAccessibleParent()
- IsFocusable()
- IsFocused()
- IsShowing()
- LostFocus(Libraries.Interface.Events.FocusEvent event)
- RemoveFocusListener(Libraries.Interface.Events.FocusListener listener)
- RemoveGestureListener(Libraries.Interface.Events.GestureListener listener)
- RemoveMouseListener(Libraries.Interface.Events.MouseListener listener)
- RemoveMouseMovementListener(Libraries.Interface.Events.MouseMovementListener listener)
- RemoveMouseWheelListener(Libraries.Interface.Events.MouseWheelListener listener)
- RemoveTouchListener(Libraries.Interface.Events.TouchListener listener)
- SetAcceptsMouseInput(boolean accepts)
- SetAccessibilityCode(integer newAccessibilityCode)
- SetAccessibilityRoleDescription(text newRoleDescription)
- SetDescription(text newDescription)
- SetFocusable(boolean focus)
- SetInputGroup(text group)
- SetName(text newName)
- SetNextFocus(Libraries.Interface.Item next)
- SetPreviousFocus(Libraries.Interface.Item previous)
- SetProperty(text key, Libraries.Data.Formats.JavaScriptObjectNotation value)
- Show()
- Update(number secondsSinceUpdate)
211 actions from Libraries.Interface.Item3D
- Add(Libraries.Interface.Item3D newItem)
- Add(integer index, Libraries.Interface.Item3D newItem)
- AddShadowLight(integer bit, integer frame)
- ApplyAngularImpulse(Libraries.Compute.Vector3 impulse)
- ApplyDamping(number seconds)
- ApplyForce(Libraries.Compute.Vector3 force, Libraries.Compute.Vector3 point)
- ApplyForceToCenter(Libraries.Compute.Vector3 force)
- ApplyImpulse(Libraries.Compute.Vector3 impulse, Libraries.Compute.Vector3 localPositionToApply)
- ApplyLinearImpulse(Libraries.Compute.Vector3 impulse, Libraries.Compute.Vector3 point)
- ApplyLinearImpulseToCenter(Libraries.Compute.Vector3 impulse)
- ApplyTorque(Libraries.Compute.Vector3 torque)
- ApplyTorqueImpulse(Libraries.Compute.Vector3 torque)
- CanRotate(boolean flag)
- CollideWithChildren()
- ComputeAngularImpulseDenominator(Libraries.Compute.Vector3 axis)
- ComputeImpulseDenominator(Libraries.Compute.Vector3 position, Libraries.Compute.Vector3 normal)
- CreateNodes(Libraries.Game.Collision.BroadphaseCollision3D broadphase, Libraries.Game.Collision.PhysicsPosition3D transform)
- DestroyNodes(Libraries.Game.Collision.BroadphaseCollision3D broadphase)
- Empty()
- EnablePhysics(boolean flag)
- FastMoving(boolean flag)
- GetAccessibilityCursor()
- GetAccessibleParent()
- GetAngularDamping()
- GetAngularFactor()
- GetAngularVelocity()
- GetBoundingBox(integer childIndex)
- GetCenterOfMassPosition()
- GetCenterOfMassTransform()
- GetCollisionGroupFlag()
- GetCollisionGroupIndex()
- GetCollisionList()
- GetCollisionTransform()
- GetCollisionTransform0()
- GetDepth()
- GetDimensions()
- GetDrawnTransform()
- GetForce()
- GetFriction()
- GetGlobalPosition()
- GetGlobalX()
- GetGlobalY()
- GetGlobalZ()
- GetHeight()
- GetInterpolatedAngularVelocity()
- GetInterpolatedLinearVelocity()
- GetInterpolationTransform()
- GetInterpolationWorldTransform()
- GetInverseInertiaLocal()
- GetInverseInertiaWorld()
- GetInverseMass()
- GetItem(integer index)
- GetItemCount()
- GetItems()
- GetJointList()
- GetLayer()
- GetLights(Libraries.Containers.Array<Libraries.Game.Graphics.Light> array)
- GetLights()
- GetLinearDamping()
- GetLinearVelocity()
- GetLinearVelocityAtLocalPoint(Libraries.Compute.Vector3 relativePosition)
- GetMass()
- GetNode(integer index)
- GetNodeCount()
- GetNodes()
- GetOffsetX()
- GetOffsetY()
- GetOffsetZ()
- GetOrientation()
- GetParent()
- GetPhysicsProperties()
- GetPitch()
- GetPosition()
- GetPushVelocity()
- GetResponsiveness()
- GetRestitution()
- GetRoll()
- GetRotationTransform()
- GetScaleX()
- GetScaleY()
- GetScaleZ()
- GetScreenBounds()
- GetScreenBoundsOfBox(Libraries.Game.BoundingBox box)
- GetScreenX()
- GetScreenY()
- GetShadowLightMask(integer frame)
- GetShape()
- GetShapeOffset()
- GetShapeTransform()
- GetShapeType()
- GetSleepTime()
- GetTimeOfImpact()
- GetTorque()
- GetTransform()
- GetTurnVelocity()
- GetWidth()
- GetX()
- GetY()
- GetYaw()
- GetZ()
- HasMoved()
- HasReportedMove()
- HasShapeOffset()
- IntegrateVelocities(number seconds)
- InternalApplyImpulse(Libraries.Compute.Vector3 linearComponent, Libraries.Compute.Vector3 angularComponent, number impulseMagnitude)
- IsCollidable()
- IsEmpty()
- IsFastMoving()
- IsNonResponsive()
- IsOnLayer()
- IsPhysicsEnabled()
- IsResponsive()
- IsRotationAllowed()
- IsSimulated()
- IsSimulationRequired()
- IsUnmovable()
- Move(Libraries.Compute.Vector3 vector)
- Move(number xAmount, number yAmount, number zAmount)
- MoveX(number xAmount)
- MoveY(number yAmount)
- MoveZ(number zAmount)
- NotifyMoved()
- PredictIntegratedTransform(number seconds, Libraries.Game.Collision.PhysicsPosition3D predictedTransform)
- ProceedToTransform(Libraries.Game.Collision.PhysicsPosition3D transform)
- ProcessGestureEvent(Libraries.Interface.Events.GestureEvent event)
- ProcessMouseEvent(Libraries.Interface.Events.MouseEvent event)
- ProcessTouchEvent(Libraries.Interface.Events.TouchEvent event)
- Remove(integer index)
- Remove(Libraries.Interface.Item3D removed)
- RequireSimulation(boolean flag)
- ResetMass()
- Rotate(Libraries.Compute.Vector3 vector, number degrees)
- Rotate(number rotateX, number rotateY, number rotateZ, number degrees, boolean rotateChildren)
- Rotate(Libraries.Compute.Vector3 vector, number degrees, boolean rotateChildren)
- Rotate(number rotateX, number rotateY, number rotateZ, number degrees)
- RotateAround(Libraries.Compute.Vector3 point, Libraries.Compute.Vector3 axis, number degrees)
- RotateAround(Libraries.Compute.Vector3 point, Libraries.Compute.Vector3 axis, number degrees, boolean rotateChildren)
- RotateChildren(number rotateX, number rotateY, number rotateZ, number degrees)
- RotateChildren(Libraries.Compute.Vector3 vector, number degrees)
- SaveKinematicState(number time)
- Scale(Libraries.Compute.Vector3 vector)
- Scale(number scaleX, number scaleY, number scaleZ, boolean scaleChildren)
- Scale(number scaleX, number scaleY, number scaleZ)
- SetAngularDamping(number angularDamping)
- SetAngularVelocity(Libraries.Compute.Vector3 angularVelocity)
- SetCenterOfMassTransform(Libraries.Game.Collision.PhysicsPosition3D transform)
- SetCollidable(boolean flag)
- SetCollideWithChildren(boolean flag)
- SetCollisionGroupFlag(boolean flag)
- SetCollisionGroupIndex(integer index)
- SetCollisionList(Libraries.Game.Collision.CollisionEdge3D list)
- SetCollisionTransform(Libraries.Game.Collision.PhysicsPosition3D transform)
- SetCollisionTransform0(Libraries.Game.Collision.PhysicsPosition3D transform)
- SetDepth(number setDepth)
- SetDimensions(number setWidth, number setHeight, number setDepth)
- SetDimensions(Libraries.Compute.Vector3 vector)
- SetDrawnTransform(Libraries.Game.Collision.PhysicsPosition3D transform)
- SetForce(Libraries.Compute.Vector3 force)
- SetFriction(number friction)
- SetHasMoved(boolean flag)
- SetHeight(number setHeight)
- SetInterpolatedAngularVelocity(Libraries.Compute.Vector3 velocity)
- SetInterpolatedLinearVelocity(Libraries.Compute.Vector3 velocity)
- SetInterpolationTransform(Libraries.Game.Collision.PhysicsPosition3D transform)
- SetItem(integer index, Libraries.Interface.Item3D newItem)
- SetJointList(Libraries.Game.Physics.Joints.JointEdge3D list)
- SetLinearDamping(number linearDamping)
- SetLinearVelocity(Libraries.Compute.Vector3 linearVelocity)
- SetLinearVelocityX(number linearVelocityX)
- SetLinearVelocityY(number linearVelocityY)
- SetLinearVelocityZ(number linearVelocityZ)
- SetMass(number mass)
- SetNonResponsive()
- SetOffset(number xAmount, number yAmount, number zAmount)
- SetOffset(Libraries.Compute.Vector3 vector)
- SetOffsetX(number xAmount)
- SetOffsetY(number yAmount)
- SetOffsetZ(number zAmount)
- SetParent(Libraries.Interface.Item3D newItem)
- SetPhysicsProperties(Libraries.Game.Physics.PhysicsProperties3D properties)
- SetPosition(Libraries.Compute.Vector3 vector)
- SetPosition(number setX, number setY, number setZ)
- SetReportedMove(boolean value)
- SetResponsive()
- SetResponsiveness(integer type)
- SetRestitution(number restitution)
- SetRotationTransform(Libraries.Compute.Matrix4 source)
- SetScale(number scaleX, number scaleY, number scaleZ)
- SetScaleX(number scale, boolean scaleChildren)
- SetScaleX(number scale)
- SetScaleY(number scale, boolean scaleChildren)
- SetScaleY(number scale)
- SetScaleZ(number scale)
- SetScaleZ(number scale, boolean scaleChildren)
- SetScreenPositionFromPhysicsPosition()
- SetShape(Libraries.Game.Collision.Shapes.CollisionShape3D shape)
- SetShapeOffset(number x, number y, number z)
- SetSleepTime(number time)
- SetTimeOfImpact(number timeOfImpact)
- SetTorque(Libraries.Compute.Vector3 torque)
- SetUnmovable()
- SetWidth(number setWidth)
- SetX(number setX)
- SetY(number setY)
- SetYawPitchRoll(number yaw, number pitch, number roll)
- SetZ(number setZ)
- ShouldCollide(Libraries.Interface.Item3D otherItem)
- Simulate(boolean flag)
- SimulationChanged()
- SynchronizeNodes()
- UpdateInertia()