REDNODE / GAME API

Entity

classnative name entEntitynative

extends IScriptable › ISerializable

Extended by 4 types

entEntityPreview gameCameraCurvesLibrary GameEntity gameVehicleCurvesLibrary

Properties 2

NameTypeFlags
customCameraTargetECustomCameraTargetoverriding
renderSceneLayerMaskRenderSceneLayerMaskoverriding

Methods 29

native const func CanServiceEvent(evtName: CName) -> Bool
native func Dispose()
native const func FindComponentByName(componentName: CName) -> ref<IComponent>
native const func GetControllingPeerID() -> Uint32
native const func GetCurrentAppearanceName() -> CName
native const func GetCurrentColorVariantName() -> CName
native const func GetEntity() -> EntityGameInterface
native const func GetEntityID() -> EntityID
native const func GetWorldForward() -> Vector4
native const func GetWorldOrientation() -> Quaternion
native const func GetWorldPosition() -> Vector4
native const func GetWorldRight() -> Vector4
public final const func GetWorldTransform() -> WorldTransformscripted
native const func GetWorldUp() -> Vector4
native const func GetWorldYaw() -> Float
native const func IsAttached() -> Bool
native const func IsControlledByAnotherClient() -> Bool
native const func IsControlledByAnyPeer() -> Bool
native const func IsControlledByLocalPeer() -> Bool
native const func IsReplicated() -> Bool
native const func MatchVisualTag(visualTag: CName) -> Bool
native const func MatchVisualTags(visualTags: array<CName>) -> Bool
public func OnInspectorDebugDraw(out box: ref<InfoBox>)scripted
protected cb func OnSetGlitchOnUIEvent(evt: ref<SetGlitchOnUIEvent>) -> Boolscripted
native func PrefetchAppearanceChange(newAppearanceName: CName)
native func QueueEvent(evt: ref<Event>)
native func QueueEventForEntityID(entityID: EntityID, evt: ref<Event>) -> Bool
native func QueueEventForNodeID(nodeID: GlobalNodeRef, evt: ref<Event>) -> Bool
native func ScheduleAppearanceChange(newAppearanceName: CName)