Battle Talent  V11
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
CrossLink.MREditorPanel Class Reference

Inherits CrossLink.PanelBase.

Public Types

enum class  EditorMode { Default = 0 , Light }
 
enum class  SceneEditorType { MR , VR }
 

Public Member Functions

void SwitchMode (EditorMode em)
 
void OnSpawnSceneItem (Transform root, PropInfo info)
 
void SpawnLight (int idx)
 
void OnSpawnLight (Transform root, PropInfo propInfo)
 
PanelBase SetHint (Transform trans)
 
void HideHint ()
 
void RemoveHint ()
 
void ToggleEnvMesh (PhysicsButton btn)
 
void ToggleSpawnMode (PhysicsButton btn)
 
void SwitchEditorHand ()
 
void ClearAll ()
 
new void Exit ()
 

Static Public Member Functions

static MREditorPanel GetMREditors (EditorMode mode, SceneEditorType type)
 
static MREditorPanel CreateMREditor (int idx)
 
static void RemoveEditor ()
 
static void NetworkPlaceEditorItem (int netId, int type, Vector3 pos, Quaternion rot)
 
static void NetworkPlaceEditorItemWithRelated (int netId, string name, int type, Vector3 pos, Quaternion rot, Vector3[] posList, Quaternion[] rotList)
 
static void NetworkRemoveProp (int netId, int type)
 

Public Attributes

GameObject[] modeNodes
 
HUDFollower follower
 
Transform content
 
PhysicsScrollView physicsScroll
 
GameObject propPrefab
 
PropTrigger itemTrigger
 
Transform boxRenderer
 
GridLayoutGroup gridLayout
 
int maxDis = 20
 
float followIntensity = 8
 
PhysicsButton onlySpawnBtn
 
List< PhysicsButtonbtnRow1
 
List< PhysicsButtonbtnRow2
 
List< PhysicsButtonbtnRow3
 
List< PhysicsButtonbtnRow4
 
Transform point
 
Transform line
 
MeshRenderer pointRenderer
 
Color unplaceableColor
 
GameObject vrHideNode
 
Color shadowStartColor
 
Color shadowEndColor
 
float shadowIntensity
 
float lightIntensity
 
float rotAngle = 5
 

Static Public Attributes

static MREditorPanel[] editors = new MREditorPanel[2]
 

Protected Attributes

RaycastHit envHitInfo
 
RaycastHit propHitInfo
 

Additional Inherited Members