public ColorRGBA(asStream stream) { R = stream.GetFloat(); G = stream.GetFloat(); B = stream.GetFloat(); A = stream.GetFloat(); }
public override void Load(asStream stream) { Vertex = stream.GetShort(); Normals = new Vector3() { X = stream.GetFloat(), Y = stream.GetFloat(), Z = stream.GetFloat() }; SMap = stream.GetFloat(); TMap = stream.GetFloat(); Color = stream.GetInt(); }
public override void Load(asStream stream) { Name = stream.GetString(32); Emission = new ColorRGBA(stream); Ambient = new ColorRGBA(stream); Diffuse = new ColorRGBA(stream); Specular = new ColorRGBA(stream); Shininess = stream.GetFloat(); Reserved = stream.GetShort(); }
public override void Load(asStream stream) { Name = stream.GetString(32); Friction = stream.GetFloat(); Elasticity = stream.GetFloat(); Drag = stream.GetFloat(); BumpHeight = stream.GetFloat(); BumpWidth = stream.GetFloat(); SinkDepth = stream.GetFloat(); PtxRate = stream.GetFloat(); Type = stream.GetInt(); Sound = stream.GetInt(); Velocity = new Vector2(stream); PtxColor = new ColorRGB(stream); }
public Vector3(asStream stream) { X = stream.GetFloat(); Y = stream.GetFloat(); Z = stream.GetFloat(); }