I don't need to test my programs. I have an error-correcting modem.
Difference between revisions of "UE3:PortalTeleporter (UDK)"
(Talk) |
m (1 revision: class descriptions for UDK January update (part 4)) |
||
(One intermediate revision by one other user not shown) | |||
Line 126: | Line 126: | ||
{{code|native final function [[bool]] '''TransformActor''' ({{cl|Actor}} '''A''')}} | {{code|native final function [[bool]] '''TransformActor''' ({{cl|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==== | ====TransformHitLocation==== |
Latest revision as of 06:44, 17 January 2010
Object >> Actor >> SceneCaptureActor >> SceneCaptureReflectActor >> SceneCapturePortalActor >> PortalTeleporter |
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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]
creates and initializes a TextureRenderTarget2D with size equal to our TextureResolutionX and TextureResolutionY properties
TransformActor[edit]
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]
transform the given location to be relative to SisterPortal
TransformVectorDir[edit]
transform the given movement vector to be relative to SisterPortal
Other instance functions[edit]
StopsProjectile[edit]
Overrides: Actor.StopsProjectile