Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 |
class InterpTrackDirector extends InterpTrack native(Interpolation); /** * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. * * A track type used for binding the view of a Player (attached to this tracks group) to the actor of a different group. * */ cpptext { // InterpTrack interface virtual INT GetNumKeyframes() const; virtual void GetTimeRange(FLOAT& StartTime, FLOAT& EndTime) const; virtual FLOAT GetTrackEndTime() const; virtual FLOAT GetKeyframeTime(INT KeyIndex) const; virtual INT AddKeyframe(FLOAT Time, UInterpTrackInst* TrInst, EInterpCurveMode InitInterpMode); virtual INT SetKeyframeTime(INT KeyIndex, FLOAT NewKeyTime, UBOOL bUpdateOrder=true); virtual void RemoveKeyframe(INT KeyIndex); virtual INT DuplicateKeyframe(INT KeyIndex, FLOAT NewKeyTime); virtual UBOOL GetClosestSnapPosition(FLOAT InPosition, TArray<INT> &IgnoreKeys, FLOAT& OutPosition); virtual void UpdateTrack(FLOAT NewPosition, UInterpTrackInst* TrInst, UBOOL bJump); /** Get the name of the class used to help out when adding tracks, keys, etc. in UnrealEd. * @return String name of the helper class.*/ virtual const FString GetEdHelperClassName() const; virtual class UMaterial* GetTrackIcon() const; virtual void DrawTrack( FCanvas* Canvas, UInterpGroup* Group, const FInterpTrackDrawParams& Params ); // InterpTrackDirector interface FName GetViewedGroupName(FLOAT CurrentTime, FLOAT& CutTime, FLOAT& CutTransitionTime); } /** Information for one cut in this track. */ struct native DirectorTrackCut { /** Time to perform the cut. */ var float Time; /** Time taken to move view to new camera. */ var float TransitionTime; /** GroupName of InterpGroup to cut viewpoint to. */ var() name TargetCamGroup; }; /** Array of cuts between cameras. */ var array<DirectorTrackCut> CutTrack; /** True to allow clients to simulate their own camera cuts. Can help with latency-induced timing issues. */ var() bool bSimulateCameraCutsOnClients; defaultproperties { bOnePerGroup=true bDirGroupOnly=true TrackInstClass=class'Engine.InterpTrackInstDirector' TrackTitle="Director" bSimulateCameraCutsOnClients=TRUE } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |