Breakroom is now Sinewave Campus. Book a meeting

SLandmark

客户端类型
在此类中Name
  1. 属性
  2. Name
  3. Position
  4. Rotation
  5. SpawnPoint
  6. SpawnRadius
  7. Type
成员 6
属性NameLandmark's Name
属性PositionLandmark's Position
属性RotationLandmark's Rotation
属性SpawnPointIs this Landmark a spawn point?
属性SpawnRadiusThe size of the radius around the Landmark where players spawn within
属性TypeThe type of Landmark

属性​

Name只读​

string Name {get; }

Landmark's Name

示例

Lua
LandmarkName = Space.Scene.Landmarks[1].Name

Position只读​

SVector Position {get; }

Landmark's Position

示例

Lua
LandmarkPosition = Space.Scene.Landmarks[1].Position

Rotation只读​

SQuaternion Rotation {get; }

Landmark's Rotation

示例

Lua
LandmarkRotation = Space.Scene.Landmarks[1].Rotation

SpawnPoint只读​

bool SpawnPoint {get; }

Is this Landmark a spawn point?

示例

Lua
LandmarkSpawnPoint = Space.Scene.Landmarks[1].SpawnPoint

SpawnRadius只读​

float SpawnRadius {get; }

The size of the radius around the Landmark where players spawn within

示例

Lua
LandmarkSpawnRadius = Space.Scene.Landmarks[1].SpawnRadius

Type只读​

int Type {get; }

The type of Landmark
1= LandingZone, 2= Area, 3= Shop, 4= Quest,5= Activity, 6= Teleport, 7= Music, 8= Dance, 9= Clothes, 10= Vehicle, 11= Item

示例

Lua
LandmarkType = Space.Scene.Landmarks[1].Type