sc2-gamedata
Public Attributes | List of all members
CModel Class Reference

Generic. More...

#include <Model.h>

Inheritance diagram for CModel:
Inheritance graph
[legend]
Collaboration diagram for CModel:
Collaboration graph
[legend]

Public Attributes

CModelPath Model
 Model. More...
 
CModelLink LowQualityModel
 Low Quality Model. More...
 
std::vector< CAnimsPathRequiredAnims
 Animations (Required) More...
 
std::vector< CAnimsPathOptionalAnims
 Animations (Optional) More...
 
std::vector< SAnimFileRequiredAnimsEx
 Required Animations Ex. More...
 
real32 AnimBlendTime
 Animation Blend Time. More...
 
real32 AnimSpeed
 Animation Speed. More...
 
std::vector< SAttachPropsAttachProps
 Attachment Properties. More...
 
TEditorCategories EditorCategories
 Editor Categories. More...
 
std::vector< SModelDataEventEvents
 Events. More...
 
CFacialPath FacialController
 Facial Controller. More...
 
CFlags Flags
 Flags. More...
 
CImagePath Image
 Image. More...
 
CLightLink Lighting
 Lighting. More...
 
EOcclusion Occlusion
 Occlusion. More...
 
real32 OccludingOpacity
 Occluding Opacity. More...
 
EPausedParticleSystemBehavior PausedParticleSystemBehavior
 Particle Pause Behavior. More...
 
EModelPhysicsType PhysicsType
 Physics Type. More...
 
std::vector< SPhysicsMaterialMappingPhysicsMaterialMappings
 Physics Material Mappings. More...
 
CPhysicsMaterialLink PhysicsMaterialOverride
 Physics Material Override. More...
 
real32 PhysicsGravityFactor
 Physics Gravity Factor. More...
 
real32 PhysicsForceFactor
 Physics Force Factor. More...
 
CVariatorActorReal32 PhysicsDeathMotionFactor
 Physics Death Motion Factor. More...
 
CString PlanetPanelCamera
 Planet Panel Camera. More...
 
uint8 Priority
 Priority. More...
 
real32 Radius
 Radius. More...
 
real32 RadiusLoose
 Visual Radius. More...
 
uint32 Quality
 Quality. More...
 
C3Vector ScaleMax
 Scale Maximum. More...
 
C3Vector ScaleMin
 Scale Minimum. More...
 
uint32 SelectionLayer
 Selection Layer. More...
 
C3Vector SelectionOffset
 Selection Offset. More...
 
real32 SelectionRadius
 Selection Radius. More...
 
real32 ShadowRadius
 Shadow Radius. More...
 
ESquibType SquibTypeDefault
 Squib Type Default. More...
 
CString TechPurchaseCamera
 Tech Purchase Camera. More...
 
real32 TechPurchaseSpeed
 Tech Purchase Speed. More...
 
real32 Tipability
 Tipability. More...
 
real32 TipabilityLength
 Tipability Length. More...
 
real32 TipabilityWidth
 Tibability Width. More...
 
CTextureProps TextureAppliedGroups
 Texture Applied Groups. More...
 
std::vector< STextureDeclareTextureDeclares
 Texture Declarations. More...
 
std::vector< STextureInfoTextureInfos
 Texture Information. More...
 
std::vector< STextureExpressionSpecTextureExpressionsForEditor
 Editor Texture Expressions. More...
 
std::vector< STextureMatchSpecTextureMatchesForEditor
 Editor Texture Matches. More...
 
CString UnitGlossaryCamera
 Unit Glossary Camera. More...
 
uint8 UnitGlossaryVariation
 Unit Glossary Variation. More...
 
uint32 UnitGlossaryTeamColorIndex
 Unit Glossary Team Color Index. More...
 
uint32 VariationCount
 Variation Count. More...
 
std::vector< SModelVariationVariations
 Variations. More...
 

Detailed Description

Generic.

Remarks
Unknown

Member Data Documentation

◆ AnimBlendTime

real32 CModel::AnimBlendTime

Animation Blend Time.

Duration of the animation blend for the model

◆ AnimSpeed

real32 CModel::AnimSpeed

Animation Speed.

Multiplier that dictates the speed at which a model plays all of its animations.

Remarks
minValue: 0.001

◆ AttachProps

std::vector<SAttachProps> CModel::AttachProps

Attachment Properties.

◆ EditorCategories

TEditorCategories CModel::EditorCategories

Editor Categories.

Editor Categories are used for filtering and organization within the StarCraft II Editor.

◆ Events

std::vector<SModelDataEvent> CModel::Events

Events.

◆ FacialController

CFacialPath CModel::FacialController

Facial Controller.

◆ Flags

CFlags CModel::Flags

Flags.

Sets different properties for the model

Remarks
indexEnum: EModelFlag

◆ Image

CImagePath CModel::Image

Image.

◆ Lighting

CLightLink CModel::Lighting

Lighting.

◆ LowQualityModel

CModelLink CModel::LowQualityModel

Low Quality Model.

Lower quality version of the model that is used when graphical settings are set to low.

◆ Model

CModelPath CModel::Model

Model.

Model file for the model

◆ OccludingOpacity

real32 CModel::OccludingOpacity

Occluding Opacity.

Remarks
minValue: 0.0
maxValue: 0.0

◆ Occlusion

EOcclusion CModel::Occlusion

Occlusion.

If this field is set to Hide, then this model will become translucent if there is a model behind it with this field set to Show.

◆ OptionalAnims

std::vector<CAnimsPath> CModel::OptionalAnims

Animations (Optional)

◆ PausedParticleSystemBehavior

EPausedParticleSystemBehavior CModel::PausedParticleSystemBehavior

Particle Pause Behavior.

◆ PhysicsDeathMotionFactor

CVariatorActorReal32 CModel::PhysicsDeathMotionFactor

Physics Death Motion Factor.

◆ PhysicsForceFactor

real32 CModel::PhysicsForceFactor

Physics Force Factor.

Remarks
minValue: -1000.0
maxValue: -1000.0

◆ PhysicsGravityFactor

real32 CModel::PhysicsGravityFactor

Physics Gravity Factor.

Remarks
minValue: -1000.0
maxValue: -1000.0

◆ PhysicsMaterialMappings

std::vector<SPhysicsMaterialMapping> CModel::PhysicsMaterialMappings

Physics Material Mappings.

◆ PhysicsMaterialOverride

CPhysicsMaterialLink CModel::PhysicsMaterialOverride

Physics Material Override.

◆ PhysicsType

EModelPhysicsType CModel::PhysicsType

Physics Type.

◆ PlanetPanelCamera

CString CModel::PlanetPanelCamera

Planet Panel Camera.

◆ Priority

uint8 CModel::Priority

Priority.

◆ Quality

uint32 CModel::Quality

Quality.

◆ Radius

real32 CModel::Radius

Radius.

Remarks
minValue: -1.0

◆ RadiusLoose

real32 CModel::RadiusLoose

Visual Radius.

If this value is not 0, it will override data that is normally queried from the model file. This radius creates a virtual sphere around the model. The model will only update its state when this sphere is within the camera's FOV. This value typically needs to be larger than the actual radius of the model so the model will not pop in the fog of war.

Remarks
minValue: -1.0

◆ RequiredAnims

std::vector<CAnimsPath> CModel::RequiredAnims

Animations (Required)

Required animations for the model in story mode

◆ RequiredAnimsEx

std::vector<SAnimFile> CModel::RequiredAnimsEx

Required Animations Ex.

◆ ScaleMax

C3Vector CModel::ScaleMax

Scale Maximum.

Maximum scale set randomly for the model's size. If this differs from Minimum Scale, the scale will be determined randomly each time the model is created.

Remarks
minValue: 0.0005,0.0005,0.0005

◆ ScaleMin

C3Vector CModel::ScaleMin

Scale Minimum.

Minimum scale for the model's size. If this differs from Maximum Scale, the scale will be determined randomly each time the model is created.

Remarks
minValue: 0.0005,0.0005,0.0005

◆ SelectionLayer

uint32 CModel::SelectionLayer

Selection Layer.

◆ SelectionOffset

C3Vector CModel::SelectionOffset

Selection Offset.

Point where the selection circle will display when the model is selected. This can be changed on the X, Y, and Z axis.

◆ SelectionRadius

real32 CModel::SelectionRadius

Selection Radius.

Radius of the selection circle

Remarks
minValue: 0
maxValue: 0

◆ ShadowRadius

real32 CModel::ShadowRadius

Shadow Radius.

The radius of the units blob shadow on low quality

Remarks
minValue: 0
maxValue: 0

◆ SquibTypeDefault

ESquibType CModel::SquibTypeDefault

Squib Type Default.

◆ TechPurchaseCamera

CString CModel::TechPurchaseCamera

Tech Purchase Camera.

Camera used when displaying the model in the tech purchase panel

◆ TechPurchaseSpeed

real32 CModel::TechPurchaseSpeed

Tech Purchase Speed.

Speed at which the tech purchase camera rotates around the model in the tech purchase panel

◆ TextureAppliedGroups

CTextureProps CModel::TextureAppliedGroups

Texture Applied Groups.

◆ TextureDeclares

std::vector<STextureDeclare> CModel::TextureDeclares

Texture Declarations.

◆ TextureExpressionsForEditor

std::vector<STextureExpressionSpec> CModel::TextureExpressionsForEditor

Editor Texture Expressions.

◆ TextureInfos

std::vector<STextureInfo> CModel::TextureInfos

Texture Information.

◆ TextureMatchesForEditor

std::vector<STextureMatchSpec> CModel::TextureMatchesForEditor

Editor Texture Matches.

◆ Tipability

real32 CModel::Tipability

Tipability.

Amount of tilt allowed for the model when traversing uneven terrain.

◆ TipabilityLength

real32 CModel::TipabilityLength

Tipability Length.

Remarks
minValue: 0

◆ TipabilityWidth

real32 CModel::TipabilityWidth

Tibability Width.

Remarks
minValue: 0

◆ UnitGlossaryCamera

CString CModel::UnitGlossaryCamera

Unit Glossary Camera.

◆ UnitGlossaryTeamColorIndex

uint32 CModel::UnitGlossaryTeamColorIndex

Unit Glossary Team Color Index.

◆ UnitGlossaryVariation

uint8 CModel::UnitGlossaryVariation

Unit Glossary Variation.

Remarks
minValue: 0
maxValue: 0

◆ VariationCount

uint32 CModel::VariationCount

Variation Count.

The total number of possible variations of a model. Variations are chosen randomly when the model is created.

Remarks
minValue: 1
maxValue: 1

◆ Variations

std::vector<SModelVariation> CModel::Variations

Variations.


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