There is no spoon

UE3:PortalTeleporter (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:24, 17 January 2010 by (Talk)

Jump to: navigation, search
Package: 
Engine
Direct subclass:
UTPortal
This class in other games:
UT3


Properties

Property group 'PortalTeleporter'

bMovablePortal

Type: bool

whether or not encroachers (movers, vehicles, and such) can move this portal

SisterPortal

Type: PortalTeleporter

destination portal

TextureResolutionX

Type: int

resolution for texture render target; must be a power of 2

Default value: 256

TextureResolutionY

Type: int

resolution for texture render target; must be a power of 2

Default value: 256

Internal variables

bAlwaysTeleportNonPawns

Type: bool

if true, non-Pawn actors are always teleporter, regardless of their bCanTeleport flag

Default value: True

bCanTeleportVehicles

Type: bool

whether or not this PortalTeleporter works on vehicles

MyMarker

Type: PortalMarker

marker on path network for AI

Default values

Property Value
bBlockActors True
bCollideActors True
bMovable False
bWorldGeometry True
CollisionComponent StaticMeshComponent'StaticMeshComponent2'

Subobjects

SceneCapturePortalComponent0

Class: Engine.SceneCapturePortalComponent

Inherits from: SceneCapturePortalActor.SceneCapturePortalComponent0

No new values.

StaticMeshComponent1

Class: Engine.StaticMeshComponent

Inherits from: SceneCapturePortalActor.StaticMeshComponent1

Property Value
ReplacementPrimitive None

StaticMeshComponent2

Class: Engine.StaticMeshComponent

Inherits from: SceneCapturePortalActor.StaticMeshComponent2

Property Value
CollideActors True
HiddenGame False
ReplacementPrimitive None

Functions

Native functions

CreatePortalTexture

native final function TextureRenderTarget2D CreatePortalTexture ()

creates and initializes a TextureRenderTarget2D with size equal to our TextureResolutionX and TextureResolutionY properties

TransformActor

native final function bool TransformActor (Actor A)

teleport an actor to be relative to SisterPortal, including transforming its velocity, acceleration, and rotation

Parameters:

  • A - the Actor to teleport

Returns:

whether the teleport succeeded

TransformHitLocation

native final function Object.Vector TransformHitLocation (Object.Vector HitLocation)

transform the given location to be relative to SisterPortal

TransformVectorDir

native final function Object.Vector TransformVectorDir (Object.Vector V)

transform the given movement vector to be relative to SisterPortal

Other instance functions

StopsProjectile

simulated function bool StopsProjectile (Projectile P)

Overrides: Actor.StopsProjectile