Brickplanet Developer API

    Classes

  • Data
    • Game
    • Leaderboard
    • Players
    • ServerStorage
    • Workspace
    • Dynamic
    • Hat
    • Mesh
    • Model
    • MouseDetector
    • Player
    • RemoteData
    • Tool
    • CData
    • Chat
    • PartColor
    • PlayerMouse
    • Ray
    • Region3
    • Vector3
  • Lighting
    • Lighting
    • PointLight
  • Effects
    • Scenery
    • Particles
    • Sound
    • Text3D
    • ParticlesEmissionModule
    • ParticlesLightsModule
    • ParticlesMainModule
    • ParticlesShapeModule
    • ParticlesTrailsModule
  • Constraints
    • Hinge
    • Weld
  • Construction
    • Part
    • Truss
    • VehicleSeat
  • Scripting
    • ServerScript
  • Scripting Forum
  • Updates Log

You are in:

  • Data
  • »
  • CData

CData

Represents position and rotation in the 3D space

Properties

Name Type Description
xNumber
yNumber
zNumber
pVector3
lookVectorVector3
rightVectorVector3
upVectorVector3

Functions

Name Returns Description
NewCData
NewCData
NewCData
NewCData
NewCData
ToStringString
quaternionFromCDataTable
fromAxisAngleCData
AnglesCData
fromEulerAnglesXYZCData
inverseCData
toWorldSpaceCData
toObjectSpaceCData
pointToWorldSpaceVector3
pointToObjectSpaceVector3
vectorToWorldSpaceVector3
vectorToObjectSpaceVector3
componentsTable
toEulerAnglesXYZTable

Events

Name Description