Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UnrealEd.MeshEditProps


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
//=============================================================================
// Object to facilitate properties editing
//=============================================================================
//  Animation / Mesh editor object to expose/shuttle only selected editable 
//  parameters from UMeshAnim/ UMesh objects back and forth in the editor.
//  
 
class MeshEditProps extends MeshObject
    hidecategories(Object)
    native; 

// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)

// Static/smooth parts
struct native FSectionDigest
{
    var() EMeshSectionMethod  MeshSectionMethod;
    var() int     MaxRigidParts;
    var() int     MinPartFaces;
    var() float   MeldSize;
};

// LOD 
struct native LODLevel
{
    var() float   DistanceFactor;
    var() float   ReductionFactor;  
    var() float   Hysteresis;
    var() int     MaxInfluences;
    var() bool    RedigestSwitch;
    var() FSectionDigest Rigidize;
};

struct native AttachSocket
{
    var() vector  A_Translation;
    var() rotator A_Rotation;
    var() name AttachAlias; 
    var() name BoneName;        
    var() float      Test_Scale;
    var() mesh       TestMesh;
    var() staticmesh TestStaticMesh;    
};

struct native MEPBonePrimSphere
{
    var() name      BoneName;
    var() vector    Offset;
    var() float     Radius;
    var() int       bBlockKarma;
    var() int       bBlockNonZeroExtent;
    var() int       bBlockZeroExtent;
};

struct native MEPBonePrimBox
{
    var() name      BoneName;
    var() vector    Offset;
    var() vector    Radii;
    var() int       bBlockKarma;
    var() int       bBlockNonZeroExtent;
    var() int       bBlockZeroExtent;
};


var const pointer WBrowserAnimationPtr;
var(Mesh) vector             Scale;
var(Mesh) vector             Translation;
var(Mesh) rotator            Rotation;
var(Mesh) vector             MinVisBound;
var(Mesh) vector             MaxVisBound;
var(Mesh) vector             VisSphereCenter;
var(Mesh) float              VisSphereRadius;

var(Redigest) int            LODStyle; //Make drop-down box w. styles...
var(Animation) MeshAnimation DefaultAnimation;

var(Skin) array<Material>                   Material;

// To be implemented: - material order specification to re-sort the sections (for multiple translucent materials )
// var(RenderOrder) array<int>					MaterialOrder;
// To be implemented: - originalmaterial names from Maya/Max
// var(OriginalMaterial) array<name>			OrigMat;

var(LOD) float              LOD_Strength;
var(LOD) array<LODLevel>    LODLevels;
var(LOD) float              SkinTesselationFactor;

// Collision cylinder: for testing/preview only, not saved with mesh (Actor property !)
var(Collision) float TestCollisionRadius;   // Radius of collision cyllinder.
var(Collision) float TestCollisionHeight;   // Half-height cyllinder.

var(Collision) array<MEPBonePrimSphere>     CollisionSpheres;       // Array of spheres linked to bones
var(Collision) array<MEPBonePrimBox>        CollisionBoxes;         // Array of boxes linked to bones
var(Collision) StaticMesh                   CollisionStaticMesh;    // Optional static mesh used for traces.

var(Attach) array<AttachSocket>   Sockets;  // Sockets, with or without adjustment coordinates / bone aliases.
var(Attach) bool  ApplyNewSockets;          // Explicit switch to apply changes 
var(Attach) bool  ContinuousUpdate;         // Continuous updating (to adjust socket angles interactively)

var(Impostor) bool      bImpostorPresent;
var(Impostor) Material  SpriteMaterial;
var(Impostor) vector    Scale3D;
var(Impostor) rotator   RelativeRotation;
var(Impostor) vector    RelativeLocation;
var(Impostor) color     ImpColor;           // Impostor base coloration.
var(Impostor) EImpSpaceMode  ImpSpaceMode;   
var(Impostor) EImpDrawMode   ImpDrawMode;
var(Impostor) EImpLightMode  ImpLightMode;

defaultproperties
{
     Scale=(X=1.000000,Y=1.000000,Z=1.000000)
     LODStyle=10
     SkinTesselationFactor=1.000000
     Scale3D=(X=1.000000,Y=1.000000,Z=1.000000)
     ImpSpaceMode=ISM_PivotVertical
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:43:34.000 - Creation time: Mo 16.4.2007 11:20:50.015 - Created with UnCodeX