OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Properties | List of all members
OpenSim.Framework.PrimitiveBaseShape Class Reference

Classes

class  MediaList
 Encapsulates a list of media entries. More...
 

Public Member Functions

 PrimitiveBaseShape ()
 
 PrimitiveBaseShape (Primitive prim)
 Construct a PrimitiveBaseShape object from a OpenMetaverse.Primitive object More...
 
void SetScale (float side)
 
void SetHeigth (float height)
 
void SetRadius (float radius)
 
virtual void GetMesh ()
 
PrimitiveBaseShape Copy ()
 
void SetPathRange (Vector3 pathRange)
 
void SetPathRange (float begin, float end)
 
void SetSculptProperties (byte sculptType, UUID SculptTextureUUID)
 
void SetProfileRange (Vector3 profileRange)
 
void SetProfileRange (float begin, float end)
 
ulong GetMeshKey (Vector3 size, float lod)
 
ulong GetMeshKey (Vector3 size, float lod, bool convex)
 
byte[] ExtraParamsToBytes ()
 
void ReadInUpdateExtraParam (ushort type, bool inUse, byte[] data)
 
void ReadInExtraParamsBytes (byte[] data)
 
void ReadSculptData (byte[] data, int pos)
 
byte[] GetSculptBytes ()
 
void ReadFlexiData (byte[] data, int pos)
 
byte[] GetFlexiBytes ()
 
void ReadLightData (byte[] data, int pos)
 
byte[] GetLightBytes ()
 
void ReadProjectionData (byte[] data, int pos)
 
byte[] GetProjectionBytes ()
 
Primitive ToOmvPrimitive ()
 Creates a OpenMetaverse.Primitive and populates it with converted PrimitiveBaseShape values More...
 
Primitive ToOmvPrimitive (Vector3 position, Quaternion rotation)
 Creates a OpenMetaverse.Primitive and populates it with converted PrimitiveBaseShape values More...
 

Static Public Member Functions

static PrimitiveBaseShape Create ()
 
static PrimitiveBaseShape CreateBox ()
 
static PrimitiveBaseShape CreateSphere ()
 
static PrimitiveBaseShape CreateCylinder ()
 
static PrimitiveBaseShape CreateCylinder (float radius, float heigth)
 

Properties

byte ProfileCurve [get, set]
 
MediaList Media [get, set]
 Entries to store media textures on each face More...
 
Primitive.TextureEntry Textures [get, set]
 
byte[] TextureEntry [get, set]
 
static PrimitiveBaseShape Default [get]
 
byte[] ExtraParams [get, set]
 
ushort PathBegin [get, set]
 
byte PathCurve [get, set]
 
ushort PathEnd [get, set]
 
sbyte PathRadiusOffset [get, set]
 
byte PathRevolutions [get, set]
 
byte PathScaleX [get, set]
 
byte PathScaleY [get, set]
 
byte PathShearX [get, set]
 
byte PathShearY [get, set]
 
sbyte PathSkew [get, set]
 
sbyte PathTaperX [get, set]
 
sbyte PathTaperY [get, set]
 
sbyte PathTwist [get, set]
 
sbyte PathTwistBegin [get, set]
 
byte PCode [get, set]
 
ushort ProfileBegin [get, set]
 
ushort ProfileEnd [get, set]
 
ushort ProfileHollow [get, set]
 
Vector3 Scale [get, set]
 
byte State [get, set]
 
byte LastAttachPoint [get, set]
 
ProfileShape ProfileShape [get, set]
 
HollowShape HollowShape [get, set]
 
UUID SculptTexture [get, set]
 
byte SculptType [get, set]
 
byte[] SculptData [get, set]
 
int FlexiSoftness [get, set]
 
float FlexiTension [get, set]
 
float FlexiDrag [get, set]
 
float FlexiGravity [get, set]
 
float FlexiWind [get, set]
 
float FlexiForceX [get, set]
 
float FlexiForceY [get, set]
 
float FlexiForceZ [get, set]
 
float LightColorR [get, set]
 
float LightColorG [get, set]
 
float LightColorB [get, set]
 
float LightColorA [get, set]
 
float LightRadius [get, set]
 
float LightCutoff [get, set]
 
float LightFalloff [get, set]
 
float LightIntensity [get, set]
 
bool FlexiEntry [get, set]
 
bool LightEntry [get, set]
 
bool SculptEntry [get, set]
 
bool ProjectionEntry [get, set]
 
UUID ProjectionTextureUUID [get, set]
 
float ProjectionFOV [get, set]
 
float ProjectionFocus [get, set]
 
float ProjectionAmbiance [get, set]
 

Detailed Description

Definition at line 80 of file PrimitiveBaseShape.cs.

Constructor & Destructor Documentation

OpenSim.Framework.PrimitiveBaseShape.PrimitiveBaseShape ( )
inline

Definition at line 194 of file PrimitiveBaseShape.cs.

OpenSim.Framework.PrimitiveBaseShape.PrimitiveBaseShape ( Primitive  prim)
inline

Construct a PrimitiveBaseShape object from a OpenMetaverse.Primitive object

Parameters
prim

Definition at line 204 of file PrimitiveBaseShape.cs.

Member Function Documentation

PrimitiveBaseShape OpenSim.Framework.PrimitiveBaseShape.Copy ( )
inline

Definition at line 351 of file PrimitiveBaseShape.cs.

static PrimitiveBaseShape OpenSim.Framework.PrimitiveBaseShape.Create ( )
inlinestatic

Definition at line 288 of file PrimitiveBaseShape.cs.

static PrimitiveBaseShape OpenSim.Framework.PrimitiveBaseShape.CreateBox ( )
inlinestatic

Definition at line 294 of file PrimitiveBaseShape.cs.

static PrimitiveBaseShape OpenSim.Framework.PrimitiveBaseShape.CreateCylinder ( )
inlinestatic

Definition at line 318 of file PrimitiveBaseShape.cs.

Here is the caller graph for this function:

static PrimitiveBaseShape OpenSim.Framework.PrimitiveBaseShape.CreateCylinder ( float  radius,
float  heigth 
)
inlinestatic

Definition at line 356 of file PrimitiveBaseShape.cs.

static PrimitiveBaseShape OpenSim.Framework.PrimitiveBaseShape.CreateSphere ( )
inlinestatic

Definition at line 306 of file PrimitiveBaseShape.cs.

Here is the caller graph for this function:

byte [] OpenSim.Framework.PrimitiveBaseShape.ExtraParamsToBytes ( )
inline

Definition at line 959 of file PrimitiveBaseShape.cs.

byte [] OpenSim.Framework.PrimitiveBaseShape.GetFlexiBytes ( )
inline

Definition at line 1261 of file PrimitiveBaseShape.cs.

byte [] OpenSim.Framework.PrimitiveBaseShape.GetLightBytes ( )
inline

Definition at line 1310 of file PrimitiveBaseShape.cs.

virtual void OpenSim.Framework.PrimitiveBaseShape.GetMesh ( )
inlinevirtual

Definition at line 347 of file PrimitiveBaseShape.cs.

ulong OpenSim.Framework.PrimitiveBaseShape.GetMeshKey ( Vector3  size,
float  lod 
)
inline

Definition at line 890 of file PrimitiveBaseShape.cs.

ulong OpenSim.Framework.PrimitiveBaseShape.GetMeshKey ( Vector3  size,
float  lod,
bool  convex 
)
inline

Definition at line 895 of file PrimitiveBaseShape.cs.

byte [] OpenSim.Framework.PrimitiveBaseShape.GetProjectionBytes ( )
inline

Definition at line 1349 of file PrimitiveBaseShape.cs.

byte [] OpenSim.Framework.PrimitiveBaseShape.GetSculptBytes ( )
inline

Definition at line 1220 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.ReadFlexiData ( byte[]  data,
int  pos 
)
inline

Definition at line 1230 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.ReadInExtraParamsBytes ( byte[]  data)
inline

Definition at line 1122 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.ReadInUpdateExtraParam ( ushort  type,
bool  inUse,
byte[]  data 
)
inline

Definition at line 1076 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.ReadLightData ( byte[]  data,
int  pos 
)
inline

Definition at line 1280 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.ReadProjectionData ( byte[]  data,
int  pos 
)
inline

Definition at line 1325 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.ReadSculptData ( byte[]  data,
int  pos 
)
inline

Definition at line 1189 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetHeigth ( float  height)
inline

Definition at line 336 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetPathRange ( Vector3  pathRange)
inline

Definition at line 366 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetPathRange ( float  begin,
float  end 
)
inline

Definition at line 372 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetProfileRange ( Vector3  profileRange)
inline

Definition at line 384 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetProfileRange ( float  begin,
float  end 
)
inline

Definition at line 390 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetRadius ( float  radius)
inline

Definition at line 341 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetScale ( float  side)
inline

Definition at line 331 of file PrimitiveBaseShape.cs.

void OpenSim.Framework.PrimitiveBaseShape.SetSculptProperties ( byte  sculptType,
UUID  SculptTextureUUID 
)
inline

Definition at line 378 of file PrimitiveBaseShape.cs.

Primitive OpenSim.Framework.PrimitiveBaseShape.ToOmvPrimitive ( )
inline

Creates a OpenMetaverse.Primitive and populates it with converted PrimitiveBaseShape values

Returns

Definition at line 1366 of file PrimitiveBaseShape.cs.

Primitive OpenSim.Framework.PrimitiveBaseShape.ToOmvPrimitive ( Vector3  position,
Quaternion  rotation 
)
inline

Creates a OpenMetaverse.Primitive and populates it with converted PrimitiveBaseShape values

Parameters
position
rotation
Returns

Definition at line 1380 of file PrimitiveBaseShape.cs.

Property Documentation

PrimitiveBaseShape OpenSim.Framework.PrimitiveBaseShape.Default
staticget

Definition at line 277 of file PrimitiveBaseShape.cs.

byte [] OpenSim.Framework.PrimitiveBaseShape.ExtraParams
getset

Definition at line 397 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.FlexiDrag
getset

Definition at line 672 of file PrimitiveBaseShape.cs.

bool OpenSim.Framework.PrimitiveBaseShape.FlexiEntry
getset

Definition at line 818 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.FlexiForceX
getset

Definition at line 699 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.FlexiForceY
getset

Definition at line 708 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.FlexiForceZ
getset

Definition at line 717 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.FlexiGravity
getset

Definition at line 681 of file PrimitiveBaseShape.cs.

int OpenSim.Framework.PrimitiveBaseShape.FlexiSoftness
getset

Definition at line 652 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.FlexiTension
getset

Definition at line 663 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.FlexiWind
getset

Definition at line 690 of file PrimitiveBaseShape.cs.

HollowShape OpenSim.Framework.PrimitiveBaseShape.HollowShape
getset

Definition at line 606 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.LastAttachPoint
getset

Definition at line 588 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightColorA
getset

Definition at line 768 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightColorB
getset

Definition at line 754 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightColorG
getset

Definition at line 740 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightColorR
getset

Definition at line 726 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightCutoff
getset

Definition at line 791 of file PrimitiveBaseShape.cs.

bool OpenSim.Framework.PrimitiveBaseShape.LightEntry
getset

Definition at line 827 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightFalloff
getset

Definition at line 800 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightIntensity
getset

Definition at line 809 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.LightRadius
getset

Definition at line 782 of file PrimitiveBaseShape.cs.

MediaList OpenSim.Framework.PrimitiveBaseShape.Media
getset

Entries to store media textures on each face

Do not change this value directly - always do it through an IMoapModule. Lock before manipulating.

Definition at line 192 of file PrimitiveBaseShape.cs.

ushort OpenSim.Framework.PrimitiveBaseShape.PathBegin
getset

Definition at line 408 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.PathCurve
getset

Definition at line 417 of file PrimitiveBaseShape.cs.

ushort OpenSim.Framework.PrimitiveBaseShape.PathEnd
getset

Definition at line 426 of file PrimitiveBaseShape.cs.

sbyte OpenSim.Framework.PrimitiveBaseShape.PathRadiusOffset
getset

Definition at line 435 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.PathRevolutions
getset

Definition at line 444 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.PathScaleX
getset

Definition at line 453 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.PathScaleY
getset

Definition at line 462 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.PathShearX
getset

Definition at line 471 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.PathShearY
getset

Definition at line 480 of file PrimitiveBaseShape.cs.

sbyte OpenSim.Framework.PrimitiveBaseShape.PathSkew
getset

Definition at line 489 of file PrimitiveBaseShape.cs.

sbyte OpenSim.Framework.PrimitiveBaseShape.PathTaperX
getset

Definition at line 498 of file PrimitiveBaseShape.cs.

sbyte OpenSim.Framework.PrimitiveBaseShape.PathTaperY
getset

Definition at line 507 of file PrimitiveBaseShape.cs.

sbyte OpenSim.Framework.PrimitiveBaseShape.PathTwist
getset

Definition at line 516 of file PrimitiveBaseShape.cs.

sbyte OpenSim.Framework.PrimitiveBaseShape.PathTwistBegin
getset

Definition at line 525 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.PCode
getset

Definition at line 534 of file PrimitiveBaseShape.cs.

ushort OpenSim.Framework.PrimitiveBaseShape.ProfileBegin
getset

Definition at line 543 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.ProfileCurve
getset

Definition at line 148 of file PrimitiveBaseShape.cs.

ushort OpenSim.Framework.PrimitiveBaseShape.ProfileEnd
getset

Definition at line 552 of file PrimitiveBaseShape.cs.

ushort OpenSim.Framework.PrimitiveBaseShape.ProfileHollow
getset

Definition at line 561 of file PrimitiveBaseShape.cs.

ProfileShape OpenSim.Framework.PrimitiveBaseShape.ProfileShape
getset

Definition at line 597 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.ProjectionAmbiance
getset

Definition at line 881 of file PrimitiveBaseShape.cs.

bool OpenSim.Framework.PrimitiveBaseShape.ProjectionEntry
getset

Definition at line 845 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.ProjectionFocus
getset

Definition at line 872 of file PrimitiveBaseShape.cs.

float OpenSim.Framework.PrimitiveBaseShape.ProjectionFOV
getset

Definition at line 863 of file PrimitiveBaseShape.cs.

UUID OpenSim.Framework.PrimitiveBaseShape.ProjectionTextureUUID
getset

Definition at line 854 of file PrimitiveBaseShape.cs.

Vector3 OpenSim.Framework.PrimitiveBaseShape.Scale
getset

Definition at line 570 of file PrimitiveBaseShape.cs.

byte [] OpenSim.Framework.PrimitiveBaseShape.SculptData
getset

Definition at line 639 of file PrimitiveBaseShape.cs.

bool OpenSim.Framework.PrimitiveBaseShape.SculptEntry
getset

Definition at line 836 of file PrimitiveBaseShape.cs.

UUID OpenSim.Framework.PrimitiveBaseShape.SculptTexture
getset

Definition at line 615 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.SculptType
getset

Definition at line 625 of file PrimitiveBaseShape.cs.

byte OpenSim.Framework.PrimitiveBaseShape.State
getset

Definition at line 579 of file PrimitiveBaseShape.cs.

byte [] OpenSim.Framework.PrimitiveBaseShape.TextureEntry
getset

Definition at line 264 of file PrimitiveBaseShape.cs.

Primitive.TextureEntry OpenSim.Framework.PrimitiveBaseShape.Textures
getset

Definition at line 249 of file PrimitiveBaseShape.cs.


The documentation for this class was generated from the following file: