Corrade Built-in Body Types

18 August 2015

  • Release 8.40 - added.

Corrade has several built-in body types that can be used by the primitive-shape altering and the prim-creation commands. They are as follows:

Body (type) Default Parameters (data)
cube
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 1.0f,
PathScaleY = 1.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.Square,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
prism
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 0.0f,
PathScaleY = 1.0f,
PathShearX = -0.5f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.Square,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
pyramid
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 0.0f,
PathScaleY = 0.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.Square,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
tetrahedron
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 0.0f,
PathScaleY = 0.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.EqualTriangle,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
cylinder
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 1.0f,
PathScaleY = 1.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.Circle,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
hemicylinder
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0.0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 1.0f,
PathScaleY = 1.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.25f,
ProfileCurve = ProfileCurve.Circle,
ProfileEnd = 0.75f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
cone
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 0.0f,
PathScaleY = 0.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.Circle,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
hemicone
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0f,
PathCurve = PathCurve.Line,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 0.0f,
PathScaleY = 0.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.25f,
ProfileCurve = ProfileCurve.Circle,
ProfileEnd = 0.75f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
sphere
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0.0f,
PathCurve = PathCurve.Circle,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 1.0f,
PathScaleY = 1.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.HalfCircle,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
hemisphere
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0.0f,
PathCurve = PathCurve.Circle,
PathEnd = 0.5f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 1.0f,
PathScaleY = 1.0f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.HalfCircle,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
torus
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0.0f,
PathCurve = PathCurve.Circle,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 1.0f,
PathScaleY = 0.25f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.Circle,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0
ring
AttachmentPoint = AttachmentPoint.Default,
Material = Material.Wood,
PathBegin = 0.0f,
PathCurve = PathCurve.Circle,
PathEnd = 1.0f,
PathRadiusOffset = 0.0f,
PathRevolutions = 1.0f,
PathScaleX = 1.0f,
PathScaleY = 0.25f,
PathShearX = 0.0f,
PathShearY = 0.0f,
PathSkew = 0.0f,
PathTaperX = 0.0f,
PathTaperY = 0.0f,
PathTwistBegin = 0.0f,
PCode = PCode.Prim,
ProfileBegin = 0.0f,
ProfileCurve = ProfileCurve.EqualTriangle,
ProfileEnd = 1.0f,
ProfileHole = HoleType.Same,
ProfileHollow = 0.0f,
State = 0

The body column represent the values that are usually passed to the type parameter whilst the Default Parameters column list the parameters that can be supplied as a CSV list passed to the the data parameter of the corresponding commands.


secondlife/scripted_agents/corrade/api/progressive/body_types.txt ยท Last modified: 2017/02/22 18:29 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.