Sinespace Client  2023.2.17543
Client-side scripting for Sinespace
SResource Class Reference

Public Member Functions

 SResource ()
 
 SResource (SScript host)
 

Public Attributes

string Name
 
UnityEngine.Object Object
 

Properties

string Type [get]
 
string AsText [get]
 
SGameObject AsGameObject [get]
 
SMaterial AsMaterial [get]
 
float TextureWidth [get]
 
float TextureHeight [get]
 

Constructor & Destructor Documentation

◆ SResource() [1/2]

SResource.SResource ( )

◆ SResource() [2/2]

SResource.SResource ( SScript  host)

Member Data Documentation

◆ Name

string SResource.Name

◆ Object

UnityEngine.Object SResource.Object

Property Documentation

◆ AsGameObject

SGameObject SResource.AsGameObject
get

◆ AsMaterial

SMaterial SResource.AsMaterial
get

◆ AsText

string SResource.AsText
get

◆ TextureHeight

float SResource.TextureHeight
get

◆ TextureWidth

float SResource.TextureWidth
get

◆ Type

string SResource.Type
get