Mostly Harmless

Difference between revisions of "UE3:PortalTeleporter (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
m (1 revision: class descriptions for UDK January update (part 4))
 
(No difference)

Latest revision as of 06:44, 17 January 2010

Package: 
Engine
Direct subclass:
UTPortal
This class in other games:
UT3


Properties[edit]

Property group 'PortalTeleporter'[edit]

bMovablePortal[edit]

Type: bool

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

SisterPortal[edit]

Type: PortalTeleporter

destination portal

TextureResolutionX[edit]

Type: int

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

Default value: 256

TextureResolutionY[edit]

Type: int

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

Default value: 256

Internal variables[edit]

bAlwaysTeleportNonPawns[edit]

Type: bool

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

Default value: True

bCanTeleportVehicles[edit]

Type: bool

whether or not this PortalTeleporter works on vehicles

MyMarker[edit]

Type: PortalMarker

marker on path network for AI

Default values[edit]

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

Subobjects[edit]

SceneCapturePortalComponent0[edit]

Class: Engine.SceneCapturePortalComponent

Inherits from: SceneCapturePortalActor.SceneCapturePortalComponent0

No new values.

StaticMeshComponent1[edit]

Class: Engine.StaticMeshComponent

Inherits from: SceneCapturePortalActor.StaticMeshComponent1

Property Value
ReplacementPrimitive None

StaticMeshComponent2[edit]

Class: Engine.StaticMeshComponent

Inherits from: SceneCapturePortalActor.StaticMeshComponent2

Property Value
CollideActors True
HiddenGame False
ReplacementPrimitive None

Functions[edit]

Native functions[edit]

CreatePortalTexture[edit]

native final function TextureRenderTarget2D CreatePortalTexture ()

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

TransformActor[edit]

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[edit]

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

transform the given location to be relative to SisterPortal

TransformVectorDir[edit]

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

transform the given movement vector to be relative to SisterPortal

Other instance functions[edit]

StopsProjectile[edit]

simulated function bool StopsProjectile (Projectile P)

Overrides: Actor.StopsProjectile