• Manual
  • API Summary
  • About
Show / Hide Table of Contents
  • DOTS_TPC
    • DotsHelper
    • FollowMode
    • FreeLookMode
    • FreeLookMouseHideMode
    • MouseCursorHelper
    • StationaryModeType
    • TargetablesComparer
    • TargetableWithDistance
    • TPC_AllHitsCollector
    • TPC_CameraControllerJob
    • TPC_CameraControllerJob.DistanceComparer
    • TPC_CameraTarget
    • TPC_ControllerOptions
    • TPC_ControllerState
    • TPC_DebugOptions
    • TPC_FadeMaterial
    • TPC_FadeSystem
    • TPC_FadeSystem.FadeJob
    • TPC_FadeSystem.FadeJob.InternalCompiler
    • TPC_FadeSystem.FadeJob.InternalCompilerQueryAndHandleData
    • TPC_FadeSystem.FadeJob.InternalCompilerQueryAndHandleData.TypeHandle
    • TPC_FollowJob
    • TPC_FollowOptions
    • TPC_FollowState
    • TPC_FreeLookJob
    • TPC_FreeLookOptions
    • TPC_GatherInputsSystem
    • TPC_HitsCollector
    • TPC_IgnoreTag
    • TPC_Input
    • TPC_Input_FreeLook
    • TPC_Input_LockOn
    • TPC_Input_Shoulder
    • TPC_Input.CameraMovementActions
    • TPC_Input.ICameraMovementActions
    • TPC_LockOnCollector
    • TPC_LockOnJob
    • TPC_LockOnOptions
    • TPC_LockOnState
    • TPC_MainCamera
    • TPC_MainSystem
    • TPC_RaycasHitsCollector
    • TPC_ShoulderJob
    • TPC_ShoulderOptions
    • TPC_SmoothedTargetPosition
    • TPC_SyncMainCameraSystem
    • TPC_TargetableOffset
    • TPC_TargetableTag

Struct TPC_CameraControllerJob

Implements
IJobChunk
Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: DOTS_TPC
Assembly: DOTS-TPC.dll
Syntax
[BurstCompile]
public struct TPC_CameraControllerJob : IJobChunk

Fields

DeltaTime

Declaration
public float DeltaTime
Field Value
Type Description
Single

LocalToWorld_Lookup

Declaration
[ReadOnly]
public ComponentLookup<LocalToWorld> LocalToWorld_Lookup
Field Value
Type Description
ComponentLookup<LocalToWorld>

LocalTransform_WriteHandle

Declaration
public ComponentTypeHandle<LocalTransform> LocalTransform_WriteHandle
Field Value
Type Description
ComponentTypeHandle<LocalTransform>

PhysicsWorld

Declaration
[ReadOnly]
public PhysicsWorld PhysicsWorld
Field Value
Type Description
PhysicsWorld

TPC_CameraOptions_ReadHandle

Declaration
[ReadOnly]
public ComponentTypeHandle<TPC_ControllerOptions> TPC_CameraOptions_ReadHandle
Field Value
Type Description
ComponentTypeHandle<TPC_ControllerOptions>

TPC_CameraState_WriteHandle

Declaration
public ComponentTypeHandle<TPC_ControllerState> TPC_CameraState_WriteHandle
Field Value
Type Description
ComponentTypeHandle<TPC_ControllerState>

TPC_IgnoreTag_Lookup

Declaration
[ReadOnly]
public ComponentLookup<TPC_IgnoreTag> TPC_IgnoreTag_Lookup
Field Value
Type Description
ComponentLookup<TPC_IgnoreTag>

TPC_SmoothedTargetPosition_WriteHandle

Declaration
public ComponentTypeHandle<TPC_SmoothedTargetPosition> TPC_SmoothedTargetPosition_WriteHandle
Field Value
Type Description
ComponentTypeHandle<TPC_SmoothedTargetPosition>

TPC_Target_ReadHandle

Declaration
[ReadOnly]
public ComponentTypeHandle<TPC_CameraTarget> TPC_Target_ReadHandle
Field Value
Type Description
ComponentTypeHandle<TPC_CameraTarget>

Methods

Execute(in ArchetypeChunk, Int32, Boolean, in v128)

Declaration
public void Execute(in ArchetypeChunk chunk, int unfilteredChunkIndex, bool useEnabledMask, in v128 chunkEnabledMask)
Parameters
Type Name Description
ArchetypeChunk chunk
Int32 unfilteredChunkIndex
Boolean useEnabledMask
v128 chunkEnabledMask

GetCameraPosition(in TPC_ControllerState, in float3, in float3)

Declaration
public static float3 GetCameraPosition(in TPC_ControllerState state, in float3 targetPosition, in float3 preComputedOffsetVectorTransformed)
Parameters
Type Name Description
TPC_ControllerState state
float3 targetPosition
float3 preComputedOffsetVectorTransformed
Returns
Type Description
float3

GetCameraPosition(in TPC_ControllerState, in float3, in quaternion, in float3)

Declaration
public static float3 GetCameraPosition(in TPC_ControllerState state, in float3 targetPosition, in quaternion targetRotation, in float3 offsetVector)
Parameters
Type Name Description
TPC_ControllerState state
float3 targetPosition
quaternion targetRotation
float3 offsetVector
Returns
Type Description
float3

GetCameraPosition(in quaternion, in float3, in float3, in float3, Single)

Declaration
public static float3 GetCameraPosition(in quaternion cameraRotation, in float3 targetPosition, in float3 offsetVectorTransformed, in float3 currentCameraOffsetVector, float distance)
Parameters
Type Name Description
quaternion cameraRotation
float3 targetPosition
float3 offsetVectorTransformed
float3 currentCameraOffsetVector
Single distance
Returns
Type Description
float3

Implements

Unity.Entities.IJobChunk
In This Article
Back to top Generated by DocFX