Witcher Wiki
Witcher Wiki
Advertisement
Substances Graveir bone
Not Stable Yet!
This article is part of the Witcher 3 scripting community documentation, which is considered to be UNSTABLE until after the release of the Blood and Wine DLC. Edits to these pages may be overwritten without notice!
CComponent
Signature
import class CComponent extends CNode
Parent
CNode
Sub-classes
CAnimatedComponent
CAppearanceComponent
CBoatDestructionComponent
CBoidPointOfInterestComponent
CBoundedComponent
CCombatDataComponent
CDismembermentComponent
CDropPhysicsComponent
CFocusActionComponent
CGameplayEffectsComponent
CInteractionAreaComponent
CInventoryComponent
CMorphedMeshManagerComponent
CNormalBlendComponent
CPathComponent
CPhantomComponent
CR4EffectComponent
CR4HumanoidCombatComponent
CReactionSceneActorComponent
CScriptedComponent
CSpriteComponent
CSwitchableFoliageComponent
CTriggerActivatorComponent
CVehicleComponent
Version
1.12
Path
/engine/components.ws

ISerializable > IScriptable > CObject > CNode

Public Functions

ApplyForceAtPointToPhysicalObject

import final function ApplyForceAtPointToPhysicalObject(force : Vector, point : Vector, optional actorIndex : int)
Parameters:
force : Vector
point : Vector
optional actorIndex : int
Location:
starts @ line 43, ends @ line 43

ApplyLocalImpulseToPhysicalObject

import final function ApplyLocalImpulseToPhysicalObject(impulse : Vector, optional actorIndex : int)
Parameters:
impulse : Vector
optional actorIndex : int
Location:
starts @ line 44, ends @ line 44

ApplyTorqueImpulseToPhysicalObject

import final function ApplyTorqueImpulseToPhysicalObject(impulse : Vector, optional actorIndex : int)
Parameters:
impulse : Vector
optional actorIndex : int
Location:
starts @ line 45, ends @ line 45

ApplyTorqueToPhysicalObject

import final function ApplyTorqueToPhysicalObject(torque : Vector, optional actorIndex : int)
Parameters:
torque : Vector
optional actorIndex : int
Location:
starts @ line 42, ends @ line 42

GetEntity

import final function GetEntity() : CEntity
Returns:
CEntity
Location:
starts @ line 17, ends @ line 17

GetPhysicalObjectAngularVelocity

import final function GetPhysicalObjectAngularVelocity(optional actorIndex : int) : Vector
Parameters:
optional actorIndex : int
Returns:
Vector
Location:
starts @ line 38, ends @ line 38

GetPhysicalObjectBoundingVolume

import final function GetPhysicalObjectBoundingVolume(out box : Box) : bool
Parameters:
out box : Box
Returns:
bool
Location:
starts @ line 46, ends @ line 46

GetPhysicalObjectLinearVelocity

import final function GetPhysicalObjectLinearVelocity(optional actorIndex : int) : Vector
Parameters:
optional actorIndex : int
Returns:
Vector
Location:
starts @ line 37, ends @ line 37

GetPhysicalObjectMass

import final function GetPhysicalObjectMass(optional actorIndex : int) : Float
Parameters:
optional actorIndex : int
Returns:
Float
Location:
starts @ line 41, ends @ line 41

HasCollisionType

import final function HasCollisionType(collisionTypeName : name, optional actorIndex : int, optional shapeIndex : int) : bool
Parameters:
collisionTypeName : name
optional actorIndex : int
optional shapeIndex : int
Returns:
bool
Location:
starts @ line 36, ends @ line 36

HasDynamicPhysic

import final function HasDynamicPhysic() : bool
Returns:
bool
Location:
starts @ line 35, ends @ line 35

IsEnabled

import final function IsEnabled() : bool
Returns:
bool
Location:
starts @ line 20, ends @ line 20

SetEnabled

import final function SetEnabled(flag : bool)
Parameters:
flag : bool
Location:
starts @ line 23, ends @ line 23

SetPhysicalObjectAngularVelocity

import final function SetPhysicalObjectAngularVelocity(velocity : Vector, optional actorIndex : int) : bool
Parameters:
velocity : Vector
optional actorIndex : int
Returns:
bool
Location:
starts @ line 40, ends @ line 40

SetPhysicalObjectLinearVelocity

import final function SetPhysicalObjectLinearVelocity(velocity : Vector, optional actorIndex : int) : bool
Parameters:
velocity : Vector
optional actorIndex : int
Returns:
bool
Location:
starts @ line 39, ends @ line 39

SetPosition

import final function SetPosition(position : Vector)
Parameters:
position : Vector
Location:
starts @ line 26, ends @ line 26

SetRotation

import final function SetRotation(rotation : EulerAngles)
Parameters:
rotation : EulerAngles
Location:
starts @ line 29, ends @ line 29

SetScale

import final function SetScale(scale : Vector)
Parameters:
scale : Vector
Location:
starts @ line 32, ends @ line 32

SetShouldSave

import final function SetShouldSave(shouldSave : bool)
Parameters:
shouldSave : bool
Location:
starts @ line 48, ends @ line 48

SignalCustomEvent

public function SignalCustomEvent(eventName : name)
Parameters:
eventName : name
Location:
starts @ line 51, ends @ line 53

Uninteresting Sub-Classes

These sub-classes have no public/protected members that are not overrides of their parent and have been merged here.

CNormalBlendComponent

import class CNormalBlendComponent extends CComponent
Location:
/engine/components.ws starts @ line 443, ends @ line 445

CScriptedComponent

import class CScriptedComponent extends CComponent
Location:
/game/components/scriptedComponent.ws starts @ line 8, ends @ line 10

CSpriteComponent

import class CSpriteComponent extends CComponent
Location:
/engine/components.ws starts @ line 451, ends @ line 453

CWayPointComponent

import class CWayPointComponent extends CSpriteComponent
Location:
/engine/components.ws starts @ line 459, ends @ line 461
Advertisement